summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-06-09 09:11:26 +0000
committerMike Frysinger <vapier@gentoo.org>2008-06-09 09:11:26 +0000
commit996406b260395dcc3792d44e8b8946c3546d3bed (patch)
treee289f8fc39e34b855d8658b3e8a8b115f83dd39d /media-libs/libgii/libgii-1.0.2.ebuild
parentallow autotools_check_macro to parse multiple arguments and add LT_INIT to ma... (diff)
downloadgentoo-2-996406b260395dcc3792d44e8b8946c3546d3bed.tar.gz
gentoo-2-996406b260395dcc3792d44e8b8946c3546d3bed.tar.bz2
gentoo-2-996406b260395dcc3792d44e8b8946c3546d3bed.zip
Fix local libtool handling #218483 by Ewgenij Starostin.
(Portage version: 2.2_pre7-r1/cvs/Linux 2.6.25 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+)
Diffstat (limited to 'media-libs/libgii/libgii-1.0.2.ebuild')
-rw-r--r--media-libs/libgii/libgii-1.0.2.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/media-libs/libgii/libgii-1.0.2.ebuild b/media-libs/libgii/libgii-1.0.2.ebuild
index a9d70a08caf7..c467fea84685 100644
--- a/media-libs/libgii/libgii-1.0.2.ebuild
+++ b/media-libs/libgii/libgii-1.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-1.0.2.ebuild,v 1.12 2007/07/27 11:20:54 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-1.0.2.ebuild,v 1.13 2008/06/09 09:11:26 vapier Exp $
inherit autotools eutils
@@ -13,23 +13,21 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="X"
-RDEPEND="X? ( x11-libs/libX11 x11-libs/libXxf86dga )
+RDEPEND="X? ( x11-libs/libX11 x11-libs/libXxf86dga )"
+DEPEND="${RDEPEND}
kernel_linux? ( >=sys-kernel/linux-headers-2.6.11 )"
-DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.9.0-linux26-headers.patch
- # Modify configure check that tries to compile the cpuid instruction
- # to work on hardened compiler. Modified acinclude.m4.
epatch "${FILESDIR}"/${P}-configure-cpuid-pic.patch
- # Since acinclude.m4 is modified, need to autoreconf.
- eautoreconf
+ rm -f acinclude.m4 m4/libtool.m4 m4/lt*.m4
+ AT_M4DIR=m4 eautoreconf
}
src_compile() {
- econf $(use_with X x) $(use_enable X x)
+ econf $(use_with X x) $(use_enable X x) || die
emake || die "emake failed."
}