summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-11 21:11:20 +0000
committerMike Frysinger <vapier@gentoo.org>2009-11-11 21:11:20 +0000
commitf6a345828f1b749163409e5d834ee21c978e3483 (patch)
tree17bd3b572fe951dc4ae3a89d488b203cc25d12ef /dev-util/strace/strace-4.5.19.ebuild
parentRemove kde-base/kdelibs:3.5 support. (diff)
downloadgentoo-2-f6a345828f1b749163409e5d834ee21c978e3483.tar.gz
gentoo-2-f6a345828f1b749163409e5d834ee21c978e3483.tar.bz2
gentoo-2-f6a345828f1b749163409e5d834ee21c978e3483.zip
Fix up USE=aio disabling #292362 by Alex HeadHunter Pyattaev.
(Portage version: 2.2_rc49/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/strace/strace-4.5.19.ebuild')
-rw-r--r--dev-util/strace/strace-4.5.19.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-util/strace/strace-4.5.19.ebuild b/dev-util/strace/strace-4.5.19.ebuild
index 7fd85550b6db..292e32d1fd3a 100644
--- a/dev-util/strace/strace-4.5.19.ebuild
+++ b/dev-util/strace/strace-4.5.19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.19.ebuild,v 1.2 2009/10/28 13:59:07 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.19.ebuild,v 1.3 2009/11/11 21:11:20 vapier Exp $
inherit flag-o-matic
@@ -13,14 +13,16 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="static aio"
+# strace only uses the header from libaio
DEPEND="aio? ( >=dev-libs/libaio-0.3.106 )"
+RDEPEND=""
src_compile() {
- filter-lfs-flags
-
+ filter-lfs-flags # configure handles this sanely
use static && append-ldflags -static
- econf $(use_enable aio libaio) || die
+ use aio || export ac_cv_header_libaio_h=no #
+ econf || die
emake || die
}