summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-28 13:45:46 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-28 13:49:47 +0100
commit2eb3a8d3ec499cd3c4152856b57c6c7ad1437295 (patch)
tree2412647c20e84a6241a587f1d0da84ddcf239863 /app-benchmarks/bonnie
parentapp-benchmarks/acovea: [QA] Port to EAPI 6 (diff)
downloadgentoo-2eb3a8d3ec499cd3c4152856b57c6c7ad1437295.tar.gz
gentoo-2eb3a8d3ec499cd3c4152856b57c6c7ad1437295.tar.bz2
gentoo-2eb3a8d3ec499cd3c4152856b57c6c7ad1437295.zip
app-benchmarks/bonnie: [QA] Minor touchups
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-benchmarks/bonnie')
-rw-r--r--app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild14
-rw-r--r--app-benchmarks/bonnie/files/Makefile.patch9
2 files changed, 12 insertions, 11 deletions
diff --git a/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild
index c9fdf5a2ddb6..65ce1c40e0e8 100644
--- a/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild
+++ b/app-benchmarks/bonnie/bonnie-2.0.6-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls"
HOMEPAGE="http://www.textuality.com/bonnie/"
@@ -16,12 +16,14 @@ IUSE=""
S=${WORKDIR}
-PATCHES=( "${FILESDIR}/bonnie_man.patch"
- "${FILESDIR}/Makefile.patch"
- "${FILESDIR}/${P}-includes.patch" )
+PATCHES=(
+ "${FILESDIR}"/bonnie_man.patch
+ "${FILESDIR}"/Makefile.patch
+ "${FILESDIR}"/${P}-includes.patch
+)
-src_compile() {
- emake CC=$(tc-getCC) SYSFLAGS="${CFLAGS}"
+src_configure() {
+ tc-export CC
}
src_install() {
diff --git a/app-benchmarks/bonnie/files/Makefile.patch b/app-benchmarks/bonnie/files/Makefile.patch
index c4367087b8b5..d803bd077ced 100644
--- a/app-benchmarks/bonnie/files/Makefile.patch
+++ b/app-benchmarks/bonnie/files/Makefile.patch
@@ -1,9 +1,8 @@
---- a/Makefile 1996-08-29 03:45:37.000000000 +0200
-+++ b/Makefile 2011-08-25 16:07:10.757629898 +0200
-@@ -1,11 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,11 +1,9 @@
-CFLAGS = -O $(SYSFLAGS)
-+CFLAGS = $(SYSFLAGS)
-
+-
bsd:
@echo 'Options are "make bsd" and "make SysV" - the default is "bsd".'
@echo 'If you get messages about missing functions, try "make SysV."'