diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-08-27 08:54:27 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-08-27 08:54:27 +0000 |
commit | a73a3dc2bb8f49a198e70ed4a191270aa64c35c3 (patch) | |
tree | 8cc8312aaffa4a794be52d7ca5dbc4fb1a36dcae /app-benchmarks/sysbench | |
parent | Version bump, drop old (diff) | |
download | historical-a73a3dc2bb8f49a198e70ed4a191270aa64c35c3.tar.gz historical-a73a3dc2bb8f49a198e70ed4a191270aa64c35c3.tar.bz2 historical-a73a3dc2bb8f49a198e70ed4a191270aa64c35c3.zip |
Adding aio useflag to properly handle automagic depend, bug #380353
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'app-benchmarks/sysbench')
-rw-r--r-- | app-benchmarks/sysbench/ChangeLog | 7 | ||||
-rw-r--r-- | app-benchmarks/sysbench/Manifest | 16 | ||||
-rw-r--r-- | app-benchmarks/sysbench/metadata.xml | 3 | ||||
-rw-r--r-- | app-benchmarks/sysbench/sysbench-0.4.10.ebuild | 12 |
4 files changed, 18 insertions, 20 deletions
diff --git a/app-benchmarks/sysbench/ChangeLog b/app-benchmarks/sysbench/ChangeLog index 4113bf4101fd..3ce9c5df4b3f 100644 --- a/app-benchmarks/sysbench/ChangeLog +++ b/app-benchmarks/sysbench/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-benchmarks/sysbench -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/ChangeLog,v 1.2 2009/03/08 20:36:54 maekke Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/ChangeLog,v 1.3 2011/08/27 08:54:27 patrick Exp $ + + 27 Aug 2011; Patrick Lauer <patrick@gentoo.org> sysbench-0.4.10.ebuild: + Adding aio useflag to properly handle automagic depend, bug #380353 08 Mar 2009; Markus Meier <maekke@gentoo.org> sysbench-0.4.10.ebuild: amd64/x86 stable, bug #261718 diff --git a/app-benchmarks/sysbench/Manifest b/app-benchmarks/sysbench/Manifest index 5381dd149fb8..00713e9a8b58 100644 --- a/app-benchmarks/sysbench/Manifest +++ b/app-benchmarks/sysbench/Manifest @@ -1,14 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST sysbench-0.4.10.tar.gz 461461 RMD160 cde3a45d77a8f49e44222473e4e0fd34a3b377ff SHA1 caa47cb64123d6f5c8a013fa5bdd7e897ac95ce3 SHA256 c14bfe69f24042b06ff8281debac333e66c30371d1914bb27dac51b672a6a5a3 -EBUILD sysbench-0.4.10.ebuild 689 RMD160 35acf4e5acb5486591f43cc83cc15fb0746b6a09 SHA1 de5dab6a1533c4e6451603c57c4f4810071b4431 SHA256 6fdb1cf89933998d62d1377509e9e2e3c858f293b6a5ffbd03b99b45a7a206e4 -MISC ChangeLog 540 RMD160 0a6b989fc22725df3ba40b6eda6388ee9f03a662 SHA1 ec50f607d2ef570c9998f440091d5c7ae6deb228 SHA256 1e47c49486c4bf1e33a010f91f588408c443f8dcdec26033c21f28cb85e47b7e -MISC metadata.xml 164 RMD160 80582ab33b0b579ef4d41eb9899dbc2a5904566c SHA1 ad15e5d3d68ce39107636b39a2bcc6a847ab45dd SHA256 d1c053798bce14287e6955dac28fa5fc6c7415449545b2922f4d30fe4d84894c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkm0LG0ACgkQkKaRLQcq0GLYDwCggpIEOMO8H2jlf+vYqXJHK0Vk -/zkAnR5mjobW8apUk708sWfaN9cdvzZ3 -=Lu1D ------END PGP SIGNATURE----- +EBUILD sysbench-0.4.10.ebuild 779 RMD160 df285591fb0d2363ac68a7c9bc239a5d86d097c5 SHA1 02f758bd347709a56f10409eef101eb8e611d1c8 SHA256 8d613f28fc14aea8516662b2acc67503d42e75d9d4ee355c82a46ba85b6b737d +MISC ChangeLog 686 RMD160 05cbc3355c3b2d2911ef490222a673b25729a2fc SHA1 2841b11ddd72b8f14fec69909522056c85cd382c SHA256 857ea3f6475868790120e8967e9931a90553c986d2f9514ce8a1ffe48dffbfc5 +MISC metadata.xml 226 RMD160 e8df85a0a764652a93742876f039e3e22086bd6a SHA1 f6d195abfc1a102b1a770637b5d650c0cc3b67a1 SHA256 97cfac0eb215110debb14c7ab3ca90d4d39a16be4bafdd616887719786af44ab diff --git a/app-benchmarks/sysbench/metadata.xml b/app-benchmarks/sysbench/metadata.xml index 7e5a7f579109..b40f5610ca92 100644 --- a/app-benchmarks/sysbench/metadata.xml +++ b/app-benchmarks/sysbench/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>benchmarks</herd> + <use> + <flag name='aio'>Enable libaio support</flag> + </use> </pkgmetadata> diff --git a/app-benchmarks/sysbench/sysbench-0.4.10.ebuild b/app-benchmarks/sysbench/sysbench-0.4.10.ebuild index 5f0e572ccaf9..cc573c99a249 100644 --- a/app-benchmarks/sysbench/sysbench-0.4.10.ebuild +++ b/app-benchmarks/sysbench/sysbench-0.4.10.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/sysbench-0.4.10.ebuild,v 1.3 2009/03/08 20:36:54 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/sysbench-0.4.10.ebuild,v 1.4 2011/08/27 08:54:27 patrick Exp $ DESCRIPTION="System performance benchmark" HOMEPAGE="http://sysbench.sourceforge.net/" @@ -9,13 +9,15 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="mysql" +IUSE="aio mysql" -DEPEND="mysql? ( virtual/mysql )" +DEPEND="mysql? ( virtual/mysql ) + aio? ( dev-libs/libaio )" RDEPEND="${DEPEND}" src_compile() { - econf $(use_with mysql mysql /usr) || die "econf failed" + if ! use aio; then my_econf="--disable-aio"; fi + econf $(use_with mysql mysql /usr) $my_econf || die "econf failed" emake || die "emake failed" } |