summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-15 12:11:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-15 12:11:25 +0000
commitf2b861cc4638bb3356b9948708dc4a01288e8093 (patch)
tree41d28b8a99c178827e35997dfa1a28ee938a0313 /sys-devel/libtool/files
parentversion bump as per bug #81826 thanks to Marco Morales <soulse@gmail.com> (diff)
downloadhistorical-f2b861cc4638bb3356b9948708dc4a01288e8093.tar.gz
historical-f2b861cc4638bb3356b9948708dc4a01288e8093.tar.bz2
historical-f2b861cc4638bb3356b9948708dc4a01288e8093.zip
Add a catch for infer tags with CC=cc just like CC=gcc.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r--sys-devel/libtool/files/1.5.6/libtool-1.5-filter-host-tags.patch12
1 files changed, 9 insertions, 3 deletions
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 ce1cb4698dd6..e418b43ea4f3 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,6 +1,11 @@
---- 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,16 @@
+Make the infer tag logic a bit more magical since a lot of old packages still
+exist which utilize this functionality.
+
+http://bugs.gentoo.org/show_bug.cgi?id=77921
+
+--- libtool-1.5.10/ltmain.in
++++ libtool-1.5.10/ltmain.in
+@@ -242,7 +242,17 @@
esac
CC_quoted="$CC_quoted $arg"
done
@@ -9,6 +14,7 @@
+ # and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc
+ extendcc=${host}-${CC}
case "$@ " in
++ "cc "* | " cc "* | "${host}-cc "* | " ${host}-cc "*|\
+ "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
+ tagname=CC
+ break ;;