summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/libtool/libtool-1.4.3-r3.ebuild')
-rw-r--r--sys-devel/libtool/libtool-1.4.3-r3.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys-devel/libtool/libtool-1.4.3-r3.ebuild b/sys-devel/libtool/libtool-1.4.3-r3.ebuild
index 313a4cbb7af1..39e1cb8a0484 100644
--- a/sys-devel/libtool/libtool-1.4.3-r3.ebuild
+++ b/sys-devel/libtool/libtool-1.4.3-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.4.3-r3.ebuild,v 1.9 2004/07/15 03:33:30 agriffis Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.4.3-r3.ebuild,v 1.10 2004/07/16 04:03:19 agriffis Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 vapier Exp $
IUSE=
@@ -66,8 +66,6 @@ src_unpack() {
epatch ${FILESDIR}/${PV}/${PN}-1.3.5-nonneg.patch
epatch ${FILESDIR}/${PV}/${PN}-1.3.5-mktemp.patch
- gnuconfig_update
-
cd ${S}
echo
# Install updated missing script
@@ -115,6 +113,10 @@ src_unpack() {
einfo "Generate ltmain.sh ..."
gen_ltmain_sh || die "Failed to generate ltmain.sh!"
+
+ # Run gnuconfig_update for both old and new versions *after* patches so we
+ # don't screw them up
+ gnuconfig_update ${WORKDIR}
}
src_compile() {
@@ -126,9 +128,6 @@ src_compile() {
cd ${OLD_S}
- # Detect mips/mips64
- gnuconfig_update
-
einfo "Configuring ${OLD_S##*/} ..."
./configure --host=${CHOST} \
--prefix=/usr \
@@ -143,9 +142,6 @@ src_compile() {
cd ${S}
- # Detect mips/mips64
- gnuconfig_update
-
einfo "Configuring ${S##*/} ..."
./configure --host=${CHOST} \
--prefix=/usr \