summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-25 08:41:18 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-25 08:41:18 +0000
commit69dff1d243fd77e061c81baff83f30465b6f1ac4 (patch)
tree427614856d76dfada7072a5f40f05ecda76664ac /sys-devel/libtool/files
parentdont document flags which shouldnt show up in IUSE (diff)
downloadhistorical-69dff1d243fd77e061c81baff83f30465b6f1ac4.tar.gz
historical-69dff1d243fd77e061c81baff83f30465b6f1ac4.tar.bz2
historical-69dff1d243fd77e061c81baff83f30465b6f1ac4.zip
Fix bracket quoting in the sanity check and make sure LD_LIBRARY_PATH doesnt clobber wrapped libtool files.
Package-Manager: portage-2.0.52-r1 http://www.bash.org/?136501
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r--sys-devel/libtool/files/1.5.10/libtool-1.5.10-version-checking.patch6
-rw-r--r--sys-devel/libtool/files/1.5.20/libtool-1.5.20-override-LD_LIBRARY_PATH.patch20
2 files changed, 23 insertions, 3 deletions
diff --git a/sys-devel/libtool/files/1.5.10/libtool-1.5.10-version-checking.patch b/sys-devel/libtool/files/1.5.10/libtool-1.5.10-version-checking.patch
index 392d81ceabec..da01e4553830 100644
--- a/sys-devel/libtool/files/1.5.10/libtool-1.5.10-version-checking.patch
+++ b/sys-devel/libtool/files/1.5.10/libtool-1.5.10-version-checking.patch
@@ -26,17 +26,17 @@
+if test -z "$ltmain"; then
+ AC_MSG_RESULT(no)
+ echo
-+ echo "*** [Gentoo] sanity check failed! ***"
++ echo "*** @<:@Gentoo@:>@ sanity check failed! ***"
+ echo "*** \$ltmain is not defined, please check the patch for consistency! ***"
+ echo
+ exit 1
+fi
+gentoo_lt_version="@_LT_VERSION@"
-+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
++gentoo_ltmain_version=`grep '^@<:@@<:@:space:@:>@@:>@*VERSION=' $ltmain | sed -e 's|^@<:@@<:@:space:@:>@@:>@*VERSION=||'`
+if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
+ AC_MSG_RESULT(no)
+ echo
-+ echo "*** [Gentoo] sanity check failed! ***"
++ echo "*** @<:@Gentoo@:>@ sanity check failed! ***"
+ echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***"
+ echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***"
+ echo
diff --git a/sys-devel/libtool/files/1.5.20/libtool-1.5.20-override-LD_LIBRARY_PATH.patch b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-override-LD_LIBRARY_PATH.patch
new file mode 100644
index 000000000000..f0bdad87ce3c
--- /dev/null
+++ b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-override-LD_LIBRARY_PATH.patch
@@ -0,0 +1,20 @@
+Fix build time issues with tools who like to export LD_LIBRARY_PATH
+to retarded values.
+
+http://bugs.gentoo.org/99593
+http://lists.gnu.org/archive/html/libtool/2005-09/msg00053.html
+
+--- monkey/ltmain.in
++++ butt/ltmain.in
+@@ -5085,6 +5085,11 @@
+ $echo >> $output "\
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ # Run the actual program with our arguments.
++
++ # Make sure env LD_LIBRARY_PATH does not mess us up
++ if test -n \"\${LD_LIBRARY_PATH+set}\"; then
++ export LD_LIBRARY_PATH=\$progdir:\$LD_LIBRARY_PATH
++ fi
+ "
+ case $host in
+ # Backslashes separate directories on plain windows