summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2011-12-27 05:08:40 +0000
committerPatrick Lauer <patrick@gentoo.org>2011-12-27 05:08:40 +0000
commit6b64c6082715a02d023ff3f24ce5a75cbf718140 (patch)
treee20b6ef296867124eecdc79700c033e43740dae5 /app-benchmarks
parentBump for #396123 (diff)
downloadgentoo-2-6b64c6082715a02d023ff3f24ce5a75cbf718140.tar.gz
gentoo-2-6b64c6082715a02d023ff3f24ce5a75cbf718140.tar.bz2
gentoo-2-6b64c6082715a02d023ff3f24ce5a75cbf718140.zip
Fix for #297590
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/sysbench/ChangeLog8
-rw-r--r--app-benchmarks/sysbench/sysbench-0.4.12-r1.ebuild (renamed from app-benchmarks/sysbench/sysbench-0.4.12.ebuild)9
2 files changed, 14 insertions, 3 deletions
diff --git a/app-benchmarks/sysbench/ChangeLog b/app-benchmarks/sysbench/ChangeLog
index da4cae14198f..2c16decbe7e4 100644
--- a/app-benchmarks/sysbench/ChangeLog
+++ b/app-benchmarks/sysbench/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-benchmarks/sysbench
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/ChangeLog,v 1.4 2011/08/27 09:07:03 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/ChangeLog,v 1.5 2011/12/27 05:08:40 patrick Exp $
+
+*sysbench-0.4.12-r1 (27 Dec 2011)
+
+ 27 Dec 2011; Patrick Lauer <patrick@gentoo.org> +sysbench-0.4.12-r1.ebuild,
+ -sysbench-0.4.12.ebuild:
+ Fix for #297590
*sysbench-0.4.12 (27 Aug 2011)
diff --git a/app-benchmarks/sysbench/sysbench-0.4.12.ebuild b/app-benchmarks/sysbench/sysbench-0.4.12-r1.ebuild
index 553be1c99352..5b26ce269ee2 100644
--- a/app-benchmarks/sysbench/sysbench-0.4.12.ebuild
+++ b/app-benchmarks/sysbench/sysbench-0.4.12-r1.ebuild
@@ -1,6 +1,6 @@
# 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.12.ebuild,v 1.1 2011/08/27 09:07:03 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/sysbench-0.4.12-r1.ebuild,v 1.1 2011/12/27 05:08:40 patrick Exp $
EAPI="2"
@@ -19,8 +19,13 @@ DEPEND="mysql? ( virtual/mysql )
aio? ( dev-libs/libaio )"
RDEPEND="${DEPEND}"
-src_configure() {
+src_prepare() {
+ # fix for bug #297590
+ sed -e 's/SUBDIRS \= doc sysbench/SUBDIRS \= sysbench/' -i Makefile.am || die "sed of makefile failed"
eautoreconf
+}
+
+src_configure() {
if ! use aio; then my_econf="--disable-aio"; fi
econf $(use_with mysql mysql /usr) $my_econf || die "econf failed"
}