diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-01 20:11:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-01 20:11:43 +0000 |
commit | 95f663fcba9a3eb7b3558054c191fba59cfd5fc0 (patch) | |
tree | e4daede4d45495f6af7e60e72e5020ab59497ed2 /app-benchmarks/bonnie++ | |
parent | Import _pre10 (diff) | |
download | gentoo-2-95f663fcba9a3eb7b3558054c191fba59cfd5fc0.tar.gz gentoo-2-95f663fcba9a3eb7b3558054c191fba59cfd5fc0.tar.bz2 gentoo-2-95f663fcba9a3eb7b3558054c191fba59cfd5fc0.zip |
$DEBUG -> use debug
Diffstat (limited to 'app-benchmarks/bonnie++')
-rw-r--r-- | app-benchmarks/bonnie++/ChangeLog | 8 | ||||
-rw-r--r-- | app-benchmarks/bonnie++/bonnie++-1.02c-r1.ebuild | 17 | ||||
-rw-r--r-- | app-benchmarks/bonnie++/bonnie++-1.03.ebuild | 18 |
3 files changed, 27 insertions, 16 deletions
diff --git a/app-benchmarks/bonnie++/ChangeLog b/app-benchmarks/bonnie++/ChangeLog index eb2e10996ff2..533559e5cc35 100644 --- a/app-benchmarks/bonnie++/ChangeLog +++ b/app-benchmarks/bonnie++/ChangeLog @@ -1,15 +1,21 @@ # ChangeLog for app-benchmarks/bonnie++ # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie++/ChangeLog,v 1.2 2003/06/27 13:37:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie++/ChangeLog,v 1.3 2003/08/01 20:09:19 vapier Exp $ *bonnie++-1.02c-r1 (25 Jun 2003) + 01 Aug 2003; Mike Frysinger <vapier@gentoo.org> : + Change $DEBUG -> use debug + 25 Jun 2003; Martin Holzer <mholzer@gentoo.org> bonnie++-1.02c-r1.ebuild, bonnie++-1.03.ebuild: Moved app-misc/bonnie++ to app-benchmarks/bonnie++ *bonnie++-1.03 (6 Dec 2002) + 01 Aug 2003; Mike Frysinger <vapier@gentoo.org> : + Change $DEBUG -> use debug + 08 Jan 2003; Jack Morgan <jmorgan@gentoo.org> bonnie++-1.03.ebuild : Removed sparc64 keyword diff --git a/app-benchmarks/bonnie++/bonnie++-1.02c-r1.ebuild b/app-benchmarks/bonnie++/bonnie++-1.02c-r1.ebuild index 3ffb08fcc4f0..d4bcfcb2c038 100644 --- a/app-benchmarks/bonnie++/bonnie++-1.02c-r1.ebuild +++ b/app-benchmarks/bonnie++/bonnie++-1.02c-r1.ebuild @@ -1,20 +1,23 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie++/bonnie++-1.02c-r1.ebuild,v 1.1 2003/06/25 20:51:56 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie++/bonnie++-1.02c-r1.ebuild,v 1.2 2003/08/01 20:09:19 vapier Exp $ -DESCRIPTION="Hard drive bottleneck testing benchmark suite." -SRC_URI="http://www.coker.com.au/bonnie++/${P}.tgz" +DESCRIPTION="Hard drive bottleneck testing benchmark suite" HOMEPAGE="http://www.coker.com.au/bonnie++/" +SRC_URI="http://www.coker.com.au/bonnie++/${P}.tgz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="x86" +IUSE="debug" src_compile() { - local myconf="" - [ "$DEBUG" == "true" ] && myconf="--with-debug --disable-stripping" + local myconf="`use_with debug`" + [ `use debug` ] \ + && myconf="${myconf} --disable-stripping" \ + || myconf="${myconf} --enable-stripping" - econf ${myconf} + econf ${myconf} || die emake || die "emake failed" emake zcav || die "emake zcav failed" # see #9073 } diff --git a/app-benchmarks/bonnie++/bonnie++-1.03.ebuild b/app-benchmarks/bonnie++/bonnie++-1.03.ebuild index af2c3c0ac40a..12b5defa343f 100644 --- a/app-benchmarks/bonnie++/bonnie++-1.03.ebuild +++ b/app-benchmarks/bonnie++/bonnie++-1.03.ebuild @@ -1,23 +1,25 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie++/bonnie++-1.03.ebuild,v 1.2 2003/06/29 15:43:52 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bonnie++/bonnie++-1.03.ebuild,v 1.3 2003/08/01 20:09:19 vapier Exp $ DESCRIPTION="Hard drive bottleneck testing benchmark suite." -SRC_URI="http://www.coker.com.au/bonnie++/${P}.tgz" HOMEPAGE="http://www.coker.com.au/bonnie++/" +SRC_URI="http://www.coker.com.au/bonnie++/${P}.tgz" -SLOT="0" LICENSE="GPL-2" -# I think this should work on other than x86 platforms (by sandymac) +SLOT="0" KEYWORDS="x86 ~ppc ~sparc ~alpha" -IUSE="" +IUSE="debug" + DEPEND="virtual/glibc" src_compile() { - local myconf="" - [ "$DEBUG" == "true" ] && myconf="--with-debug --disable-stripping" + local myconf="`use_with debug`" + [ `use debug` ] \ + && myconf="${myconf} --disable-stripping" \ + || myconf="${myconf} --enable-stripping" - econf ${myconf} + econf ${myconf} || die emake || die "emake failed" emake zcav || die "emake zcav failed" # see #9073 } |