diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-04 05:13:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-04 05:13:53 +0000 |
commit | 9ada45a4ab8b118cc40453f32fcc24d6cbbed0de (patch) | |
tree | e20177736d45a6d6100e8b3ed34a27931b0da290 /sys-devel/libtool/files | |
parent | more KEYWORDS! (diff) | |
download | historical-9ada45a4ab8b118cc40453f32fcc24d6cbbed0de.tar.gz historical-9ada45a4ab8b118cc40453f32fcc24d6cbbed0de.tar.bz2 historical-9ada45a4ab8b118cc40453f32fcc24d6cbbed0de.zip |
Try to impove auto-guessing at --tag #67692.
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r-- | sys-devel/libtool/files/1.5.2/libtool-1.5-filter-host-tags.patch | 29 | ||||
-rw-r--r-- | sys-devel/libtool/files/digest-libtool-1.5.2-r6 | 2 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/1.5.2/libtool-1.5-filter-host-tags.patch b/sys-devel/libtool/files/1.5.2/libtool-1.5-filter-host-tags.patch new file mode 100644 index 000000000000..4db84bb45fe5 --- /dev/null +++ b/sys-devel/libtool/files/1.5.2/libtool-1.5-filter-host-tags.patch @@ -0,0 +1,29 @@ +--- libtool-1.5.2/ltmain.in.orig 2004-11-04 04:20:50.608823576 +0000 ++++ libtool-1.5.2/ltmain.in 2004-11-04 04:23:25.151329544 +0000 +@@ -560,8 +560,11 @@ + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`" ++ # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc' ++ trimedcc="${CC/${host}-}" + case "$base_compile " in +- "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ++ "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*|\ ++ "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. +@@ -947,8 +950,11 @@ + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`" +- case $base_compile in +- "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ++ # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc' ++ trimedcc="${CC/${host}-}" ++ case "$base_compile " in ++ "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*|\ ++ "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*) + # The compiler in $compile_command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. diff --git a/sys-devel/libtool/files/digest-libtool-1.5.2-r6 b/sys-devel/libtool/files/digest-libtool-1.5.2-r6 new file mode 100644 index 000000000000..301451dc934e --- /dev/null +++ b/sys-devel/libtool/files/digest-libtool-1.5.2-r6 @@ -0,0 +1,2 @@ +MD5 db66ba05502f533ad0cfd84dc0e03bd5 libtool-1.5.2.tar.gz 2653072 +MD5 fa26a07c978ad05d1f88ed7a472daa49 libtool-1.3.5.tar.gz 538884 |