summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-07-03 19:11:10 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-07-03 19:11:10 +0000
commit2fbfc1c31d7dac1b90145caab7ef37bf40574709 (patch)
tree199f720d0a4fe9d7a7189e4d55476e1aee43fe3f /sys-devel/libtool/files
parentsymlinko fixo (diff)
downloadgentoo-2-2fbfc1c31d7dac1b90145caab7ef37bf40574709.tar.gz
gentoo-2-2fbfc1c31d7dac1b90145caab7ef37bf40574709.tar.bz2
gentoo-2-2fbfc1c31d7dac1b90145caab7ef37bf40574709.zip
fix $S still being around in some cases
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r--sys-devel/libtool/files/1.4.1/libtool-1.4.1-portage.patch-v662
-rw-r--r--sys-devel/libtool/files/digest-libtool-1.4.1-r71
-rw-r--r--sys-devel/libtool/files/digest-libtool-1.4.1-r9 (renamed from sys-devel/libtool/files/digest-libtool-1.4.1-r6)0
3 files changed, 62 insertions, 1 deletions
diff --git a/sys-devel/libtool/files/1.4.1/libtool-1.4.1-portage.patch-v6 b/sys-devel/libtool/files/1.4.1/libtool-1.4.1-portage.patch-v6
new file mode 100644
index 000000000000..2d15d2e05676
--- /dev/null
+++ b/sys-devel/libtool/files/1.4.1/libtool-1.4.1-portage.patch-v6
@@ -0,0 +1,62 @@
+--- ltmain.sh.orig Wed Apr 3 01:19:37 2002
++++ ltmain.sh Sun May 26 19:50:52 2002
+@@ -3940,9 +3940,46 @@
+ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+- newdependency_libs="$newdependency_libs $libdir/$name"
++ # We do not want portage's install root ($D) present. Check only for
++ # this if the .la is being installed.
++ if test "$installed" = yes && test "$D"; then
++ eval mynewdependency_lib="`echo "$libdir/$name" |sed -e "s:$D::g" -e 's://:/:g'`"
++ else
++ mynewdependency_lib="$libdir/$name"
++ fi
++ # Do not add duplicates
++ if test "$mynewdependency_lib"; then
++ if test -z "`echo $newdependency_libs |grep -e "$mynewdependency_lib"`"; then
++ newdependency_libs="$newdependency_libs $mynewdependency_lib"
++ fi
++ fi
++ ;;
++ *)
++ if test "$installed" = yes; then
++ # Rather use S=WORKDIR if our version of portage supports it.
++ # This is because some ebuild (gcc) do not use $S as buildroot.
++ if test "$PWORKDIR"; then
++ S="$PWORKDIR"
++ fi
++ # We do not want portage's build root ($S) present.
++ if test -n "`echo $deplib |grep -e "$S"`" && test "$S"; then
++ mynewdependency_lib=""
++ # We do not want portage's install root ($D) present.
++ elif test -n "`echo $deplib |grep -e "$D"`" && test "$D"; then
++ eval mynewdependency_lib="`echo "$deplib" |sed -e "s:$D::g" -e 's://:/:g'`"
++ else
++ mynewdependency_lib="$deplib"
++ fi
++ else
++ mynewdependency_lib="$deplib"
++ fi
++ # Do not add duplicates
++ if test "$mynewdependency_lib"; then
++ if test -z "`echo $newdependency_libs |grep -e "$mynewdependency_lib"`"; then
++ newdependency_libs="$newdependency_libs $mynewdependency_lib"
++ fi
++ fi
+ ;;
+- *) newdependency_libs="$newdependency_libs $deplib" ;;
+ esac
+ done
+ dependency_libs="$newdependency_libs"
+@@ -3975,6 +4005,10 @@
+ case $host,$output,$installed,$module,$dlname in
+ *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+ esac
++ # Do not add duplicates
++ if test "$installed" = yes && test "$D"; then
++ install_libdir="`echo "$install_libdir" |sed -e "s:$D::g" -e 's://:/:g'`"
++ fi
+ $echo > $output "\
+ # $outputname - a libtool library file
+ # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
diff --git a/sys-devel/libtool/files/digest-libtool-1.4.1-r7 b/sys-devel/libtool/files/digest-libtool-1.4.1-r7
deleted file mode 100644
index ce6a480b1e86..000000000000
--- a/sys-devel/libtool/files/digest-libtool-1.4.1-r7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 28582af0b96513f223e970db1a9a5cde libtool-1.4.1.tar.gz 1129676
diff --git a/sys-devel/libtool/files/digest-libtool-1.4.1-r6 b/sys-devel/libtool/files/digest-libtool-1.4.1-r9
index ce6a480b1e86..ce6a480b1e86 100644
--- a/sys-devel/libtool/files/digest-libtool-1.4.1-r6
+++ b/sys-devel/libtool/files/digest-libtool-1.4.1-r9