summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-19 23:27:44 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-19 23:27:44 +0000
commit81b05b075930b9afbc0c71398157503849d36713 (patch)
tree5bf06f9ce791e488f6bbf897e97afac0384696ca /sys-devel
parentmake sure $ROOT has a trailing / (diff)
downloadhistorical-81b05b075930b9afbc0c71398157503849d36713.tar.gz
historical-81b05b075930b9afbc0c71398157503849d36713.tar.bz2
historical-81b05b075930b9afbc0c71398157503849d36713.zip
Update the infer tag patch to go both ways #77921.
Package-Manager: portage-2.0.51-r13
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/libtool/ChangeLog6
-rw-r--r--sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch5
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-devel/libtool/ChangeLog b/sys-devel/libtool/ChangeLog
index f206067897c4..03b4a0919e89 100644
--- a/sys-devel/libtool/ChangeLog
+++ b/sys-devel/libtool/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-devel/libtool
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.64 2005/01/03 00:08:00 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.65 2005/01/19 23:27:44 vapier Exp $
+
+ 19 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+ files/1.5.6/libtool-1.5-filter-host-tags.patch:
+ Update the infer tag patch to go both ways #77921.
03 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch
index 9145bc76cdca..d70b1b7befc2 100644
--- a/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch
+++ b/sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch
@@ -1,16 +1,19 @@
--- libtool-1.5.10/ltmain.in.orig 2004-11-09 13:43:24.290875562 -0500
+++ libtool-1.5.10/ltmain.in 2004-11-09 13:45:51.250048464 -0500
-@@ -242,7 +242,13 @@
+@@ -242,7 +242,16 @@
esac
CC_quoted="$CC_quoted $arg"
done
+ # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
+ trimedcc=`echo ${CC} | $SED -e "/${host}-//g"`
++ # and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc
++ extendcc=${host}-${CC}
case "$@ " in
+ "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
+ tagname=CC
+ break ;;
+ "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\
++ "$extendcc "* | " $extendcc "* | "`$echo $extendcc` "* | " `$echo $extendcc` "*|\
" $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
# The compiler in the base compile command matches
# the one in the tagged configuration.