diff options
author | 2002-12-14 21:16:20 +0000 | |
---|---|---|
committer | 2002-12-14 21:16:20 +0000 | |
commit | 6063ab0ea707a68ee50bb88575184fb931160521 (patch) | |
tree | d583ef458cb2c8e3f5180e621b5abe87ee5b5aab /sys-devel/libtool/files | |
parent | new ebuild (diff) | |
download | gentoo-2-6063ab0ea707a68ee50bb88575184fb931160521.tar.gz gentoo-2-6063ab0ea707a68ee50bb88575184fb931160521.tar.bz2 gentoo-2-6063ab0ea707a68ee50bb88575184fb931160521.zip |
new version
Diffstat (limited to 'sys-devel/libtool/files')
10 files changed, 344 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.2f-cache.patch b/sys-devel/libtool/files/1.4.3/libtool-1.2f-cache.patch new file mode 100644 index 000000000000..5002e3119d5f --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.2f-cache.patch @@ -0,0 +1,16 @@ +--- libtool-1.2f/libtool.m4~ Fri Mar 12 13:47:07 1999 ++++ libtool-1.2f/libtool.m4 Fri Mar 26 14:24:18 1999 +@@ -68,7 +68,12 @@ + dnl + + # Check for any special flags to pass to ltconfig. +-libtool_flags="--cache-file=$cache_file" ++# ++# the following will cause an existing older ltconfig to fail, so ++# we ignore this at the expense of the cache file... Checking this ++# will just take longer ... bummer! ++#libtool_flags="--cache-file=$cache_file" ++# + test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" + test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" + test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.3.5-mktemp.patch b/sys-devel/libtool/files/1.4.3/libtool-1.3.5-mktemp.patch new file mode 100644 index 000000000000..d6f4253f412d --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.3.5-mktemp.patch @@ -0,0 +1,15 @@ +--- libtool-1.3.5/ltmain.in.mktemp Fri Jul 7 18:49:44 2000 ++++ libtool-1.3.5/ltmain.in Fri May 26 21:53:15 2000 +@@ -3462,7 +3462,11 @@ + if test "$finalize" = yes && test -z "$run"; then + tmpdir="/tmp" + test -n "$TMPDIR" && tmpdir="$TMPDIR" +- tmpdir="$tmpdir/libtool-$$" ++ tmpdir=`mktemp -d $tmpdir/libtool-XXXXXX 2> /dev/null` ++ if test $? = 0 ; then : ++ else ++ tmpdir="$tmpdir/libtool-$$" ++ fi + if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then : + else + $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.3.5-nonneg.patch b/sys-devel/libtool/files/1.4.3/libtool-1.3.5-nonneg.patch new file mode 100644 index 000000000000..d21ade8b39af --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.3.5-nonneg.patch @@ -0,0 +1,29 @@ +--- libtool-1.3.5/ltmain.in.sopwith Thu Jul 13 17:34:43 2000 ++++ libtool-1.3.5/ltmain.in Thu Jul 13 17:36:31 2000 +@@ -1656,7 +1656,7 @@ + + # Check that each of the things are valid numbers. + case "$current" in +- 0 | [1-9] | [1-9][0-9]*) ;; ++ [0-9]*) ;; + *) + $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 +@@ -1665,7 +1665,7 @@ + esac + + case "$revision" in +- 0 | [1-9] | [1-9][0-9]*) ;; ++ [0-9]*) ;; + *) + $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 +@@ -1674,7 +1674,7 @@ + esac + + case "$age" in +- 0 | [1-9] | [1-9][0-9]*) ;; ++ [0-9]*) ;; + *) + $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.4-nonneg.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4-nonneg.patch new file mode 100644 index 000000000000..5c1d243996b1 --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.4-nonneg.patch @@ -0,0 +1,29 @@ +--- libtool-1.4/ltmain.in.nonneg Wed May 9 10:29:55 2001 ++++ libtool-1.4/ltmain.in Wed May 9 10:30:48 2001 +@@ -2191,7 +2191,7 @@ + + # Check that each of the things are valid numbers. + case $current in +- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; ++ [0-9]*) ;; + *) + $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 +@@ -2200,7 +2200,7 @@ + esac + + case $revision in +- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; ++ [0-9]*) ;; + *) + $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 +@@ -2209,7 +2209,7 @@ + esac + + case $age in +- 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; ++ [0-9]*) ;; + *) + $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-demo.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-demo.patch new file mode 100644 index 000000000000..fcfe0c8acc57 --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-demo.patch @@ -0,0 +1,11 @@ +--- libtool-1.4.2/tests/Makefile.am.orig 2002-09-16 21:33:44.000000000 -0400 ++++ libtool-1.4.2/tests/Makefile.am 2002-09-16 21:34:19.000000000 -0400 +@@ -19,7 +19,7 @@ + demo-nofast.test demo-make.test demo-exec.test \ + demo-inst.test demo-unst.test \ + demo-pic.test demo-make.test demo-exec.test \ +- demo-nopic.test demo-make.test demo-exec.test \ ++ demo-make.test demo-exec.test \ + depdemo-nofast.test depdemo-make.test \ + depdemo-exec.test depdemo-inst.test depdemo-unst.test \ + cdemo-shared.test cdemo-make.test cdemo-exec.test \ diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-multilib.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-multilib.patch new file mode 100644 index 000000000000..bc136573be64 --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-multilib.patch @@ -0,0 +1,58 @@ +--- libtool-1.4.2/libtool.m4.multilib 2002-09-13 17:32:31.000000000 -0400 ++++ libtool-1.4.2/libtool.m4 2002-09-13 17:32:34.000000000 -0400 +@@ -2167,6 +2167,26 @@ + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' ++ ++ # Find out which ABI we are using (multilib Linux x86_64 hack). ++ libsuff= ++ case "$host_cpu" in ++ x86_64*) ++ echo '[#]line __oline__ "configure"' > conftest.$ac_ext ++ if AC_TRY_EVAL(ac_compile); then ++ case `/usr/bin/file conftest.$ac_objext` in ++ *64-bit*) ++ libsuff=64 ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++ *) ++ ;; ++ esac ++ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" ++ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + + netbsd*) +--- libtool-1.4.2/libltdl/acinclude.m4.multilib 2002-09-13 17:32:31.000000000 -0400 ++++ libtool-1.4.2/libltdl/acinclude.m4 2002-09-13 17:32:34.000000000 -0400 +@@ -2167,6 +2167,26 @@ + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' ++ ++ # Find out which ABI we are using (multilib Linux x86_64 hack). ++ libsuff= ++ case "$host_cpu" in ++ x86_64*) ++ echo '[#]line __oline__ "configure"' > conftest.$ac_ext ++ if AC_TRY_EVAL(ac_compile); then ++ case `/usr/bin/file conftest.$ac_objext` in ++ *64-bit*) ++ libsuff=64 ++ ;; ++ esac ++ fi ++ rm -rf conftest* ++ ;; ++ *) ++ ;; ++ esac ++ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" ++ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + + netbsd*) diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch new file mode 100644 index 000000000000..2d15d2e05676 --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-portage.patch @@ -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/1.4.3/libtool-1.4.2-relink-58664.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-relink-58664.patch new file mode 100644 index 000000000000..0dc3e1cb154b --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-relink-58664.patch @@ -0,0 +1,111 @@ +--- libtool-1.4.2/ltmain.in~ Mon Feb 4 15:12:15 2002 ++++ libtool-1.4.2/ltmain.in Mon Feb 4 15:12:15 2002 +@@ -745,6 +745,7 @@ + linker_flags= + dllsearchpath= + lib_search_path=`pwd` ++ inst_prefix_dir= + + avoid_version=no + dlfiles= +@@ -875,6 +876,11 @@ + prev= + continue + ;; ++ inst_prefix) ++ inst_prefix_dir="$arg" ++ prev= ++ continue ++ ;; + release) + release="-$arg" + prev= +@@ -976,6 +982,11 @@ + continue + ;; + ++ -inst-prefix-dir) ++ prev=inst_prefix ++ continue ++ ;; ++ + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) +@@ -1851,7 +1862,16 @@ + if test "$hardcode_direct" = yes; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then +- add_dir="-L$libdir" ++ # Try looking first in the location we're being installed to. ++ add_dir= ++ if test -n "$inst_prefix_dir"; then ++ case "$libdir" in ++ [\\/]*) ++ add_dir="-L$inst_prefix_dir$libdir" ++ ;; ++ esac ++ fi ++ add_dir="$add_dir -L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in +@@ -1861,7 +1881,16 @@ + add="-l$name" + else + # We cannot seem to hardcode it, guess we'll fake it. +- add_dir="-L$libdir" ++ # Try looking first in the location we're being installed to. ++ add_dir= ++ if test -n "$inst_prefix_dir"; then ++ case "$libdir" in ++ [\\/]*) ++ add_dir="-L$inst_prefix_dir$libdir" ++ ;; ++ esac ++ fi ++ add_dir="$add_dir -L$libdir" + add="-l$name" + fi + +@@ -3823,7 +3852,7 @@ + fi + done + # Quote the link command for shipping. +- relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args)" ++ relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + + # Only create the output if not a dry run. +@@ -4124,12 +4153,30 @@ + dir="$dir$objdir" + + if test -n "$relink_command"; then ++ # Determine the prefix the user has applied to our future dir. ++ inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"` ++ ++ # Don't allow the user to place us outside of our expected ++ # location b/c this prevents finding dependent libraries that ++ # are installed to the same prefix. ++ if test "$inst_prefix_dir" = "$destdir"; then ++ $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 ++ exit 1 ++ fi ++ ++ if test -n "$inst_prefix_dir"; then ++ # Stick the inst_prefix_dir data into the link command. ++ relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` ++ else ++ relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"` ++ fi ++ + $echo "$modename: warning: relinking \`$file'" 1>&2 + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 +- continue ++ exit 1 + fi + fi + diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-s390_x86_64.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-s390_x86_64.patch new file mode 100644 index 000000000000..0fd3b90f3754 --- /dev/null +++ b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-s390_x86_64.patch @@ -0,0 +1,11 @@ +--- libtool-1.4.2/libtool.m4.s390 Tue Sep 18 10:47:23 2001 ++++ libtool-1.4.2/libtool.m4 Tue Sep 18 10:47:49 2001 +@@ -3372,7 +3372,7 @@ + # This must be Linux ELF. + linux-gnu*) + case $host_cpu in +- alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) ++ alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM diff --git a/sys-devel/libtool/files/digest-libtool-1.4.3 b/sys-devel/libtool/files/digest-libtool-1.4.3 new file mode 100644 index 000000000000..e1f620300ee1 --- /dev/null +++ b/sys-devel/libtool/files/digest-libtool-1.4.3 @@ -0,0 +1,2 @@ +MD5 d11a3c835449d7fa50a025dc9c01ad81 libtool-1.4.3.tar.gz 1164463 +MD5 fa26a07c978ad05d1f88ed7a472daa49 libtool-1.3.5.tar.gz 538884 |