diff options
Diffstat (limited to 'sys-devel/libtool')
21 files changed, 0 insertions, 1218 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 deleted file mode 100644 index 5002e3119d5f..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.2f-cache.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- 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 deleted file mode 100644 index d6f4253f412d..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.3.5-mktemp.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- 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 deleted file mode 100644 index d21ade8b39af..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.3.5-nonneg.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- 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.2-demo.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-demo.patch deleted file mode 100644 index fcfe0c8acc57..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-demo.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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-fix-linkage-of-cxx-code-with-gcc.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch deleted file mode 100644 index a89fef4f324d..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ./ltmain.in.gege 2001-09-11 01:40:18.000000000 +0200 -+++ ./ltmain.in 2002-05-15 13:32:16.000000000 +0200 -@@ -205,6 +205,17 @@ - exit 1 - fi - -+# Mandrake: (gc) It's bad to link C++ code with GCC, so we need to use the compiler name if provided -+if test "$mode" = link && test -n "$archive_cmds" && test -x "/usr/bin/perl"; then -+ case $nonopt in -+ *cc | *++ | gcc* | *-gcc* | egcs*) -+ archive_cmds=`echo $archive_cmds | perl -pe 's/^\S+\s+//'` -+ archive_cmds="$nonopt $archive_cmds" -+ archive_expsym_cmds=`echo $archive_expsym_cmds | perl -pe 's/^\S+\s+//'` -+ archive_expsym_cmds="$nonopt $archive_expsym_cmds" -+ esac -+fi -+ - # If this variable is set in any of the actions, the command in it - # will be execed at the end. This prevents here-documents from being - # left over by shells. 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 deleted file mode 100644 index bc136573be64..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-multilib.patch +++ /dev/null @@ -1,58 +0,0 @@ ---- 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-relink-58664.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-relink-58664.patch deleted file mode 100644 index 0dc3e1cb154b..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-relink-58664.patch +++ /dev/null @@ -1,111 +0,0 @@ ---- 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.3-lib64.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.3-lib64.patch deleted file mode 100644 index 96c5d64e2723..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.4.3-lib64.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- libtool-1.4.3/libtool.m4.lib64 2003-02-13 14:47:06.000000000 +0100 -+++ libtool-1.4.3/libtool.m4 2003-02-13 14:47:06.000000000 +0100 -@@ -100,6 +100,20 @@ case $host in - rm -rf conftest* - ;; - -+*-*-linux*) -+ # Test if the compiler is 64bit -+ echo 'int i;' > conftest.$ac_ext -+ lt_cv_cc_64bit_output=no -+ if AC_TRY_EVAL(ac_compile); then -+ case `/usr/bin/file conftest.$ac_objext` in -+ *"ELF 64"*) -+ lt_cv_cc_64bit_output=yes -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+ - *-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" -@@ -2183,6 +2197,13 @@ linux-gnu*) - # before this can be enabled. - hardcode_into_libs=yes - -+ case $host_cpu:$lt_cv_cc_64bit_output in -+ powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) -+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" -+ sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" -+ ;; -+ esac -+ - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.4.3-pass-thread-flags.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.3-pass-thread-flags.patch deleted file mode 100644 index bb37901dff8a..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.4.3-pass-thread-flags.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- libtool-1.4.3/ltmain.in.pass-thread-flags 2003-07-08 14:24:03.000000000 +0200 -+++ libtool-1.4.3/ltmain.in 2003-07-08 14:52:09.000000000 +0200 -@@ -1225,6 +1225,11 @@ compiler." - continue - ;; - -+ -Kthread | -mthreads | -mt | -pthread | -pthreads | -threads | -qthreaded | -kthread ) -+ compiler_flags="$compiler_flags $arg" -+ continue -+ ;; -+ - # Some other compiler flag. - -* | +*) - # Unknown arguments in both finalize_command and compile_command need 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 deleted file mode 100644 index da01e4553830..000000000000 --- a/sys-devel/libtool/files/1.5.10/libtool-1.5.10-version-checking.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- libtool-1.5.10/libtool.m4.orig 2004-12-11 13:28:30.494718288 -0500 -+++ libtool-1.5.10/libtool.m4 2004-12-11 13:31:51.452168112 -0500 -@@ -227,6 +227,14 @@ - [pic_mode=default]) - test -z "$pic_mode" && pic_mode=default - -+# Check if we have a version mismatch between libtool.m4 and ltmain.sh. -+# -+# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined. -+# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually -+# calls AC_LIBTOOL_CONFIG and creates libtool. -+# -+_LT_VERSION_CHECK -+ - # Use C for the default configuration in the libtool script - tagname= - AC_LIBTOOL_LANG_C_CONFIG -@@ -234,6 +242,41 @@ - ])# AC_LIBTOOL_SETUP - - -+# _LT_VERSION_CHECK -+# ----------------- -+AC_DEFUN([_LT_VERSION_CHECK], -+[AC_MSG_CHECKING([for correct ltmain.sh version]) -+if test -z "$ltmain"; then -+ AC_MSG_RESULT(no) -+ echo -+ 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=||'` -+if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then -+ AC_MSG_RESULT(no) -+ echo -+ 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 -+ echo "Please run:" -+ echo -+ echo " libtoolize --copy --force" -+ echo -+ echo "if appropriate, please contact the maintainer of this" -+ echo "package (or your distribution) for help." -+ echo -+ exit 1 -+else -+ AC_MSG_RESULT(yes) -+fi -+])# _LT_VERSION_CHECK -+ -+ - # _LT_AC_SYS_COMPILER - # ------------------- - AC_DEFUN([_LT_AC_SYS_COMPILER], diff --git a/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch b/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch deleted file mode 100644 index 74de9cfb8abf..000000000000 --- a/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- libtool-1.5.14/ltmain.in -+++ libtool-1.5.14/ltmain.in -@@ -136,6 +136,30 @@ - lo2o="s/\\.lo\$/.${objext}/" - o2lo="s/\\.${objext}\$/.lo/" - quote_scanset='[[~#^*{};<>?'"'"' ]' -+ -+if test -z "$max_cmd_len"; then -+ i=0 -+ testring="ABCD" -+ new_result= -+ -+ # If test is not a shell built-in, we'll probably end up computing a -+ # maximum length that is only half of the actual maximum length, but -+ # we can't tell. -+ while (test "X"`$SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ -+ = "XX$testring") >/dev/null 2>&1 && -+ new_result=`expr "X$testring" : ".*" 2>&1` && -+ max_cmd_len="$new_result" && -+ test "$i" != 17 # 1/2 MB should be enough -+ do -+ i=`expr $i + 1` -+ testring="$testring$testring" -+ done -+ testring= -+ # Add a significant safety factor because C++ compilers can tack on massive -+ # amounts of additional arguments before passing them to the linker. -+ # It appears as though 1/2 is a usable value. -+ max_cmd_len=`expr $max_cmd_len \/ 2` -+fi - - ##################################### - # Shell function definitions: diff --git a/sys-devel/libtool/files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch b/sys-devel/libtool/files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch deleted file mode 100644 index 5378761c2199..000000000000 --- a/sys-devel/libtool/files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libtool-1.5/libtool.m4.x86_64 2003-04-14 17:58:23.000000000 -0400 -+++ libtool-1.5/libtool.m4 2003-04-24 16:38:34.000000000 -0400 -@@ -2167,7 +2167,7 @@ - # This must be Linux ELF. - linux*) - case $host_cpu in -- alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*) -+ alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|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/1.5.2/libtool-1.5-testfailure.patch b/sys-devel/libtool/files/1.5.2/libtool-1.5-testfailure.patch deleted file mode 100644 index 5fd041eb9f79..000000000000 --- a/sys-devel/libtool/files/1.5.2/libtool-1.5-testfailure.patch +++ /dev/null @@ -1,176 +0,0 @@ ---- libtool-1.5/pdemo/longer_file_name_hell0.c.testfailure 2003-04-24 19:19:09.000000000 -0400 -+++ libtool-1.5/pdemo/longer_file_name_hell0.c 2003-04-24 19:19:04.000000000 -0400 -@@ -0,0 +1,32 @@ -+/* hello.c -- trivial test function for libfoo -+ Copyright (C) 1996-1999 Free Software Foundation, Inc. -+ This file is part of GNU Libtool. -+ -+This program is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 2 of the License, or -+(at your option) any later version. -+ -+This program is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with this program; if not, write to the Free Software -+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -+USA. */ -+ -+/* Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu> */ -+#define _LIBFOO_COMPILATION -+#include "foo.h" -+#undef _LIBFOO_COMPILATION -+ -+#include <stdio.h> -+ -+int -+hello () -+{ -+ printf ("** This is not GNU Hello. There is no built-in mail reader. **\n"); -+ return HELLO_RET; -+} ---- libtool-1.5/pdemo/longer_file_name_foo0.c.testfailure 2003-04-24 19:19:51.000000000 -0400 -+++ libtool-1.5/pdemo/longer_file_name_foo0.c 2003-04-24 19:19:43.000000000 -0400 -@@ -0,0 +1,39 @@ -+/* foo.c -- trivial test function for libfoo -+ Copyright (C) 1996-1999 Free Software Foundation, Inc. -+ Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -+ This file is part of GNU Libtool. -+ -+This program is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 2 of the License, or -+(at your option) any later version. -+ -+This program is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with this program; if not, write to the Free Software -+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -+USA. */ -+ -+#define _LIBFOO_COMPILATION_ -+#include "foo.h" -+#undef _LIBFOO_COMPILATION_ -+ -+#include <stdio.h> -+ -+#ifdef HAVE_MATH_H -+#include <math.h> -+#endif -+ -+/* Give a global variable definition. */ -+int nothing = FOO_RET; -+ -+int -+foo () -+{ -+ printf ("cos (0.0) = %g\n", (double) cos ((double) 0.0)); -+ return FOO_RET; -+} ---- libtool-1.5/pdemo/Makefile.am.testfailure 2003-04-24 19:20:08.000000000 -0400 -+++ libtool-1.5/pdemo/Makefile.am 2003-04-24 19:20:17.000000000 -0400 -@@ -122,7 +122,7 @@ - # This is one of the essential tests for deplibs_check_method=pass_all. - # If this one passes with pass_all, it is likely that pass_all works - EXTRA_LIBRARIES = libhell0.a --libhell0_a_SOURCES = longer_file_name_hello.c longer_file_name_foo.c -+libhell0_a_SOURCES = longer_file_name_hell0.c longer_file_name_foo0.c - EXTRA_LTLIBRARIES = libhell1.la libhell2.la - libhell1_la_SOURCES = longer_file_name_hell1.c - libhell1_la_LIBADD = -L. -lhell0 ---- /dev/null 2002-04-11 10:25:15.000000000 -0400 -+++ libtool-1.5/demo/hell0.c 2003-04-24 19:11:46.000000000 -0400 -@@ -0,0 +1,32 @@ -+/* hello.c -- trivial test function for libfoo -+ Copyright (C) 1996-1999 Free Software Foundation, Inc. -+ This file is part of GNU Libtool. -+ -+This program is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 2 of the License, or -+(at your option) any later version. -+ -+This program is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with this program; if not, write to the Free Software -+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -+USA. */ -+ -+/* Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu> */ -+#define _LIBFOO_COMPILATION -+#include "foo.h" -+#undef _LIBFOO_COMPILATION -+ -+#include <stdio.h> -+ -+int -+hello () -+{ -+ printf ("** This is not GNU Hello. There is no built-in mail reader. **\n"); -+ return HELLO_RET; -+} ---- /dev/null 2002-04-11 10:25:15.000000000 -0400 -+++ libtool-1.5/demo/foo0.c 2003-04-24 19:11:46.000000000 -0400 -@@ -0,0 +1,39 @@ -+/* foo.c -- trivial test function for libfoo -+ Copyright (C) 1996-1999 Free Software Foundation, Inc. -+ Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -+ This file is part of GNU Libtool. -+ -+This program is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 2 of the License, or -+(at your option) any later version. -+ -+This program is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with this program; if not, write to the Free Software -+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -+USA. */ -+ -+#define _LIBFOO_COMPILATION_ -+#include "foo.h" -+#undef _LIBFOO_COMPILATION_ -+ -+#include <stdio.h> -+ -+#ifdef HAVE_MATH_H -+#include <math.h> -+#endif -+ -+/* Give a global variable definition. */ -+int nothing = FOO_RET; -+ -+int -+foo () -+{ -+ printf ("cos (0.0) = %g\n", (double) cos ((double) 0.0)); -+ return FOO_RET; -+} ---- libtool-1.5/demo/Makefile.am.testfailure 2002-11-19 04:42:39.000000000 -0500 -+++ libtool-1.5/demo/Makefile.am 2003-04-24 19:11:46.000000000 -0400 -@@ -122,7 +122,7 @@ - # This is one of the essential tests for deplibs_check_method=pass_all. - # If this one passes with pass_all, it is likely that pass_all works - EXTRA_LIBRARIES = libhell0.a --libhell0_a_SOURCES = hello.c foo.c -+libhell0_a_SOURCES = hell0.c foo0.c - EXTRA_LTLIBRARIES = libhell1.la libhell2.la - libhell1_la_SOURCES = hell1.c - libhell1_la_LIBADD = -L. -lhell0 diff --git a/sys-devel/libtool/files/digest-libtool-1.5.16 b/sys-devel/libtool/files/digest-libtool-1.5.16 deleted file mode 100644 index 58f124d94daf..000000000000 --- a/sys-devel/libtool/files/digest-libtool-1.5.16 +++ /dev/null @@ -1 +0,0 @@ -MD5 5f3c344ae62a1d1fd789877e8080ae57 libtool-1.5.16.tar.gz 2774942 diff --git a/sys-devel/libtool/files/digest-libtool-1.5.18-r1 b/sys-devel/libtool/files/digest-libtool-1.5.18-r1 deleted file mode 100644 index f7cd6cc2b672..000000000000 --- a/sys-devel/libtool/files/digest-libtool-1.5.18-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 3c6630a02bf0858c365ee32e0599255e libtool-1.5.18.tar.gz 2780846 diff --git a/sys-devel/libtool/files/digest-libtool-1.5.20 b/sys-devel/libtool/files/digest-libtool-1.5.20 deleted file mode 100644 index 4fab72c472e9..000000000000 --- a/sys-devel/libtool/files/digest-libtool-1.5.20 +++ /dev/null @@ -1 +0,0 @@ -MD5 fc3b564700aebcb19de841c1c2d66e99 libtool-1.5.20.tar.gz 2789331 diff --git a/sys-devel/libtool/files/digest-libtool-1.5.20-r1 b/sys-devel/libtool/files/digest-libtool-1.5.20-r1 deleted file mode 100644 index 4fab72c472e9..000000000000 --- a/sys-devel/libtool/files/digest-libtool-1.5.20-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 fc3b564700aebcb19de841c1c2d66e99 libtool-1.5.20.tar.gz 2789331 diff --git a/sys-devel/libtool/libtool-1.5.16.ebuild b/sys-devel/libtool/libtool-1.5.16.ebuild deleted file mode 100644 index eb06551eccf5..000000000000 --- a/sys-devel/libtool/libtool-1.5.16.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.16.ebuild,v 1.2 2005/06/29 11:04:00 azarah Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $ - -inherit eutils libtool - -DESCRIPTION="A shared library tool for developers" -HOMEPAGE="http://www.gnu.org/software/libtool/libtool.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="1.5" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="" - -DEPEND="sys-devel/gnuconfig - >=sys-devel/autoconf-2.59 - >=sys-devel/automake-1.9" -# the autoconf dep is due to it complaining 'configure.ac:55: error: Autoconf version 2.58 or higher is required' -# the automake dep is due to Bug #46037 - -lt_setup() { - export WANT_AUTOCONF=2.5 - export WANT_AUTOMAKE=1.9 -} - -gen_ltmain_sh() { - local date= - local PACKAGE= - local VERSION= - - rm -f ltmain.shT - date=`./mkstamp < ./ChangeLog` && \ - eval `egrep '^[[:space:]]*PACKAGE' configure` && \ - eval `egrep '^[[:space:]]*VERSION' configure` && \ - sed -e "s/@PACKAGE@/${PACKAGE}/" -e "s/@VERSION@/${VERSION}/" \ - -e "s%@TIMESTAMP@%$date%" ./ltmain.in > ltmain.shT || return 1 - - mv -f ltmain.shT ltmain.sh || { - (rm -f ltmain.sh && cp ltmain.shT ltmain.sh && rm -f ltmain.shT) - return 1 - } - - return 0 -} - -src_unpack() { - lt_setup - unpack ${A} - cd ${S} - - # Make sure non of the patches touch ltmain.sh, but rather ltmain.in - rm -f ltmain.sh* - - # Fix the relink problem where the relinked libs do not get - # installed. It is *VERY* important that you get a updated - # 'libtool-1.4.3-relink.patch' if you update this, as it - # fixes a very serious bug. Please not that this patch is - # included in 'libtool-1.4.3-gentoo.patch' for this ebuild. - # - # NOTE: all affected apps should get a 'libtoolize --copy --force' - # added to update libtool - # -# Seems to be included in shipped tarball ... -# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-relink-58664.patch - - epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-multilib.patch -# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-demo.patch -# Seems to be included in shipped tarball ... -# epatch ${FILESDIR}/1.5.2/${PN}-1.5-libtool.m4-x86_64.patch -# epatch ${FILESDIR}/1.5.2/${PN}-1.5-testfailure.patch - # Mandrake patches - epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-lib64.patch -# Fix bug #43244 -# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch - epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-archive-shared.patch - epatch ${FILESDIR}/1.5.6/${PN}-1.5.6-ltmain-SED.patch - epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-expsym-linux.patch -# epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-libtoolize--config-only.patch - epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-pass-thread-flags.patch - - # Gentoo Patches - # Do not create bogus entries in $dependency_libs or $libdir - # with ${D} or ${S} in them. - # <azarah@gentoo.org> - (07 April 2002) - epatch ${FILESDIR}/1.5.10/${PN}-1.5.10-portage.patch - # If a package use an older libtool, and libtool.m4 for that - # package is updated, but not libtool, then we may run into an - # issue where internal variables are named differently. Often - # this shows up as libs being built without '.so' extension #73140 - epatch ${FILESDIR}/1.5.10/${PN}-1.5.10-version-checking.patch - sed -i "s:@_LT_VERSION@:${PV}:" libtool.m4 || die "sed libtool.m4" - # For older autoconf setups's that do not support libtool.m4, - # $max_cmd_len are never set, causing all tests against it to - # fail, resulting in 'integer expression expected' errors and - # possible misbehaviour. - # <azarah@gentoo.org> - (11 Feb 2004) - epatch ${FILESDIR}/1.5.14/${PN}-1.5.14-ltmain_sh-max_cmd_len.patch - - # Libtool's autoguessing at tag's sucks ... it get's confused - # if the tag's CC says '<CHOST>-gcc' and the env CC says 'gcc' - # or vice versa ... newer automakes specify the tag so no - # guessing is needed #67692 - epatch ${FILESDIR}/1.5.6/libtool-1.5-filter-host-tags.patch - - # Libtool uses links to handle locking object files with - # dependencies. Hard links can't cross filesystems though, - # so we have to use a diff source for the link. #40992 - epatch ${FILESDIR}/1.5.10/libtool-1.5.10-locking.patch - - # In some cases EGREP is not set by the build system. - epatch ${FILESDIR}/1.5.14/libtool-1.5.14-egrep.patch - - ebegin "Generating ltmain.sh" - gen_ltmain_sh || die "Failed to generate ltmain.sh!" - eend 0 - - # Now let's run all our autotool stuff so that files we patch - # below don't get regenerated on us later - cp libtool.m4 acinclude.m4 - local d p - for d in . libltdl ; do - ebegin "Running autotools in '${d}'" - cd ${S}/${d} - touch acinclude.m4 - for p in aclocal "automake -c -a" autoconf ; do - ${p} || die "${p}" - done - eend 0 - done - cd "${S}" - - uclibctoolize - epunt_cxx -} - -src_compile() { - lt_setup - econf || die - emake || die -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS - - for x in $(find "${D}" -name config.guess -o -name config.sub) ; do - rm -f "${x}" ; ln -sf ../gnuconfig/$(basename "${x}") "${x}" - done - cd "${D}"/usr/share/libtool/libltdl - for x in config.guess config.sub ; do - rm -f ${x} ; ln -sfn ../${x} ${x} - done -} diff --git a/sys-devel/libtool/libtool-1.5.18-r1.ebuild b/sys-devel/libtool/libtool-1.5.18-r1.ebuild deleted file mode 100644 index 0d289d71506b..000000000000 --- a/sys-devel/libtool/libtool-1.5.18-r1.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.18-r1.ebuild,v 1.2 2005/07/05 23:34:09 vapier Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $ - -inherit eutils libtool - -DESCRIPTION="A shared library tool for developers" -HOMEPAGE="http://www.gnu.org/software/libtool/libtool.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="1.5" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="" - -DEPEND="sys-devel/gnuconfig - >=sys-devel/autoconf-2.59 - >=sys-devel/automake-1.9" -# the autoconf dep is due to it complaining 'configure.ac:55: error: Autoconf version 2.58 or higher is required' -# the automake dep is due to Bug #46037 - -lt_setup() { - export WANT_AUTOCONF=2.5 - export WANT_AUTOMAKE=1.9 -} - -gen_ltmain_sh() { - local date= - local PACKAGE= - local VERSION= - - rm -f ltmain.shT - date=`./mkstamp < ./ChangeLog` && \ - eval `egrep '^[[:space:]]*PACKAGE' configure` && \ - eval `egrep '^[[:space:]]*VERSION' configure` && \ - sed -e "s/@PACKAGE@/${PACKAGE}/" -e "s/@VERSION@/${VERSION}/" \ - -e "s%@TIMESTAMP@%$date%" ./ltmain.in > ltmain.shT || return 1 - - mv -f ltmain.shT ltmain.sh || { - (rm -f ltmain.sh && cp ltmain.shT ltmain.sh && rm -f ltmain.shT) - return 1 - } - - return 0 -} - -src_unpack() { - lt_setup - unpack ${A} - cd ${S} - - # Make sure non of the patches touch ltmain.sh, but rather ltmain.in - rm -f ltmain.sh* - - # Fix the relink problem where the relinked libs do not get - # installed. It is *VERY* important that you get a updated - # 'libtool-1.4.3-relink.patch' if you update this, as it - # fixes a very serious bug. Please not that this patch is - # included in 'libtool-1.4.3-gentoo.patch' for this ebuild. - # - # NOTE: all affected apps should get a 'libtoolize --copy --force' - # added to update libtool - # -# Seems to be included in shipped tarball ... -# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-relink-58664.patch - - epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-multilib.patch -# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-demo.patch -# Seems to be included in shipped tarball ... -# epatch ${FILESDIR}/1.5.2/${PN}-1.5-libtool.m4-x86_64.patch -# epatch ${FILESDIR}/1.5.2/${PN}-1.5-testfailure.patch - # Mandrake patches - epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-lib64.patch -# Fix bug #43244 -# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch - epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-archive-shared.patch - epatch ${FILESDIR}/1.5.6/${PN}-1.5.6-ltmain-SED.patch - epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-expsym-linux.patch -# epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-libtoolize--config-only.patch - epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-pass-thread-flags.patch - - # Gentoo Patches - # Do not create bogus entries in $dependency_libs or $libdir - # with ${D} or ${S} in them. - # <azarah@gentoo.org> - (07 April 2002) - epatch ${FILESDIR}/1.5.10/${PN}-1.5.10-portage.patch - # If a package use an older libtool, and libtool.m4 for that - # package is updated, but not libtool, then we may run into an - # issue where internal variables are named differently. Often - # this shows up as libs being built without '.so' extension #73140 - epatch ${FILESDIR}/1.5.10/${PN}-1.5.10-version-checking.patch - sed -i "s:@_LT_VERSION@:${PV}:" libtool.m4 || die "sed libtool.m4" - # For older autoconf setups's that do not support libtool.m4, - # $max_cmd_len are never set, causing all tests against it to - # fail, resulting in 'integer expression expected' errors and - # possible misbehaviour. - # <azarah@gentoo.org> - (11 Feb 2004) - epatch ${FILESDIR}/1.5.14/${PN}-1.5.14-ltmain_sh-max_cmd_len.patch - - # Libtool's autoguessing at tag's sucks ... it get's confused - # if the tag's CC says '<CHOST>-gcc' and the env CC says 'gcc' - # or vice versa ... newer automakes specify the tag so no - # guessing is needed #67692 - epatch ${FILESDIR}/1.5.6/libtool-1.5-filter-host-tags.patch - - # Libtool uses links to handle locking object files with - # dependencies. Hard links can't cross filesystems though, - # so we have to use a diff source for the link. #40992 - epatch ${FILESDIR}/1.5.10/libtool-1.5.10-locking.patch - - # In some cases EGREP is not set by the build system. - epatch ${FILESDIR}/1.5.14/libtool-1.5.14-egrep.patch - - ebegin "Generating ltmain.sh" - gen_ltmain_sh || die "Failed to generate ltmain.sh!" - eend 0 - - # Now let's run all our autotool stuff so that files we patch - # below don't get regenerated on us later - cp libtool.m4 acinclude.m4 - local d p - for d in . libltdl ; do - ebegin "Running autotools in '${d}'" - cd ${S}/${d} - touch acinclude.m4 - for p in aclocal "automake -c -a" autoconf ; do - ${p} || die "${p}" - done - eend 0 - done - cd "${S}" - - uclibctoolize - epunt_cxx -} - -src_compile() { - lt_setup - econf || die - emake || die -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS - - for x in $(find "${D}" -name config.guess -o -name config.sub) ; do - rm -f "${x}" ; ln -sf ../gnuconfig/$(basename "${x}") "${x}" - done - cd "${D}"/usr/share/libtool/libltdl - for x in config.guess config.sub ; do - rm -f ${x} ; ln -sfn ../${x} ${x} - done -} diff --git a/sys-devel/libtool/libtool-1.5.20-r1.ebuild b/sys-devel/libtool/libtool-1.5.20-r1.ebuild deleted file mode 100644 index f76df9fb8181..000000000000 --- a/sys-devel/libtool/libtool-1.5.20-r1.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.20-r1.ebuild,v 1.1 2005/11/04 02:33:25 vapier Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $ - -inherit eutils - -DESCRIPTION="A shared library tool for developers" -HOMEPAGE="http://www.gnu.org/software/libtool/libtool.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="1.5" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" - -RDEPEND="sys-devel/gnuconfig - >=sys-devel/autoconf-2.59 - >=sys-devel/automake-1.9" -DEPEND="${RDEPEND} - sys-apps/help2man" - -lt_setup() { - export WANT_AUTOCONF=2.5 - export WANT_AUTOMAKE=1.9 -} - -gen_ltmain_sh() { - local date= - local PACKAGE= - local VERSION= - - rm -f ltmain.shT - date=`./mkstamp < ./ChangeLog` && \ - eval `egrep '^[[:space:]]*PACKAGE' configure` && \ - eval `egrep '^[[:space:]]*VERSION' configure` && \ - sed -e "s/@PACKAGE@/${PACKAGE}/" -e "s/@VERSION@/${VERSION}/" \ - -e "s%@TIMESTAMP@%$date%" ./ltmain.in > ltmain.shT || return 1 - - mv -f ltmain.shT ltmain.sh || { - (rm -f ltmain.sh && cp ltmain.shT ltmain.sh && rm -f ltmain.shT) - return 1 - } - - return 0 -} - -src_unpack() { - lt_setup - unpack ${A} - cd "${S}" - - # Make sure non of the patches touch ltmain.sh, but rather ltmain.in - rm -f ltmain.sh* - - # Fix the relink problem where the relinked libs do not get - # installed. It is *VERY* important that you get a updated - # 'libtool-1.4.3-relink.patch' if you update this, as it - # fixes a very serious bug. Please not that this patch is - # included in 'libtool-1.4.3-gentoo.patch' for this ebuild. - # - # NOTE: all affected apps should get a 'libtoolize --copy --force' - # added to update libtool - # -# Seems to be included in shipped tarball ... -# epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-relink-58664.patch - - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-multilib.patch - # Mandrake patches - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.3-lib64.patch -# Fix bug #43244 -# epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-archive-shared.patch - epatch "${FILESDIR}"/1.5.6/${PN}-1.5.6-ltmain-SED.patch - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-expsym-linux.patch - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.3-pass-thread-flags.patch - epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-use-linux-version-in-fbsd.patch #109105 - - # Gentoo Patches - # Do not create bogus entries in $dependency_libs or $libdir - # with ${D} or ${S} in them. - # <azarah@gentoo.org> - (07 April 2002) - epatch "${FILESDIR}"/1.5.10/${PN}-1.5.10-portage.patch - # If a package use an older libtool, and libtool.m4 for that - # package is updated, but not libtool, then we may run into an - # issue where internal variables are named differently. Often - # this shows up as libs being built without '.so' extension #73140 - epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-version-checking.patch - sed -i "s:@_LT_VERSION@:${PV}:" libtool.m4 || die "sed libtool.m4" - # For older autoconf setups's that do not support libtool.m4, - # $max_cmd_len are never set, causing all tests against it to - # fail, resulting in 'integer expression expected' errors and - # possible misbehaviour. - # <azarah@gentoo.org> - (11 Feb 2004) - epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-ltmain_sh-max_cmd_len.patch - - # Libtool's autoguessing at tag's sucks ... it get's confused - # if the tag's CC says '<CHOST>-gcc' and the env CC says 'gcc' - # or vice versa ... newer automakes specify the tag so no - # guessing is needed #67692 - epatch "${FILESDIR}"/1.5.6/libtool-1.5-filter-host-tags.patch - - # Libtool uses links to handle locking object files with - # dependencies. Hard links can't cross filesystems though, - # so we have to use a diff source for the link. #40992 - epatch "${FILESDIR}"/1.5.10/libtool-1.5.10-locking.patch - - # In some cases EGREP is not set by the build system. - epatch "${FILESDIR}"/1.5.14/libtool-1.5.14-egrep.patch - - # Make sure LD_LIBRARY_PATH doesn't override RUNPATH #99593 - epatch "${FILESDIR}"/1.5.20/libtool-1.5.20-override-LD_LIBRARY_PATH.patch - - ebegin "Generating ltmain.sh" - gen_ltmain_sh || die "Failed to generate ltmain.sh!" - eend 0 - - # Now let's run all our autotool stuff so that files we patch - # below don't get regenerated on us later - cp libtool.m4 acinclude.m4 - local d p - for d in . libltdl ; do - ebegin "Running autotools in '${d}'" - cd "${S}"/${d} - touch acinclude.m4 - for p in aclocal "automake -c -a" autoconf ; do - ${p} || die "${p}" - done - eend 0 - done - cd "${S}" - - epunt_cxx -} - -src_compile() { - lt_setup - econf || die - emake || die -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS - - local x - for x in libtool libtoolize ; do - help2man ${x} > ${x}.1 - doman ${x}.1 - done - - for x in $(find "${D}" -name config.guess -o -name config.sub) ; do - rm -f "${x}" ; ln -sf ../gnuconfig/$(basename "${x}") "${x}" - done - cd "${D}"/usr/share/libtool/libltdl - for x in config.guess config.sub ; do - rm -f ${x} ; ln -sfn ../${x} ${x} - done -} diff --git a/sys-devel/libtool/libtool-1.5.20.ebuild b/sys-devel/libtool/libtool-1.5.20.ebuild deleted file mode 100644 index aedfbde6f5ff..000000000000 --- a/sys-devel/libtool/libtool-1.5.20.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.20.ebuild,v 1.12 2005/12/15 07:04:14 vapier Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $ - -inherit eutils - -DESCRIPTION="A shared library tool for developers" -HOMEPAGE="http://www.gnu.org/software/libtool/libtool.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="1.5" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="" - -RDEPEND="sys-devel/gnuconfig - >=sys-devel/autoconf-2.59 - >=sys-devel/automake-1.9" -DEPEND="${RDEPEND} - sys-apps/help2man" - -lt_setup() { - export WANT_AUTOCONF=2.5 - export WANT_AUTOMAKE=1.9 -} - -gen_ltmain_sh() { - local date= - local PACKAGE= - local VERSION= - - rm -f ltmain.shT - date=`./mkstamp < ./ChangeLog` && \ - eval `egrep '^[[:space:]]*PACKAGE' configure` && \ - eval `egrep '^[[:space:]]*VERSION' configure` && \ - sed -e "s/@PACKAGE@/${PACKAGE}/" -e "s/@VERSION@/${VERSION}/" \ - -e "s%@TIMESTAMP@%$date%" ./ltmain.in > ltmain.shT || return 1 - - mv -f ltmain.shT ltmain.sh || { - (rm -f ltmain.sh && cp ltmain.shT ltmain.sh && rm -f ltmain.shT) - return 1 - } - - return 0 -} - -src_unpack() { - lt_setup - unpack ${A} - cd "${S}" - - # Make sure non of the patches touch ltmain.sh, but rather ltmain.in - rm -f ltmain.sh* - - # Fix the relink problem where the relinked libs do not get - # installed. It is *VERY* important that you get a updated - # 'libtool-1.4.3-relink.patch' if you update this, as it - # fixes a very serious bug. Please not that this patch is - # included in 'libtool-1.4.3-gentoo.patch' for this ebuild. - # - # NOTE: all affected apps should get a 'libtoolize --copy --force' - # added to update libtool - # -# Seems to be included in shipped tarball ... -# epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-relink-58664.patch - - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-multilib.patch - # Mandrake patches - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.3-lib64.patch -# Fix bug #43244 -# epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-archive-shared.patch - epatch "${FILESDIR}"/1.5.6/${PN}-1.5.6-ltmain-SED.patch - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-expsym-linux.patch - epatch "${FILESDIR}"/1.4.3/${PN}-1.4.3-pass-thread-flags.patch - epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-use-linux-version-in-fbsd.patch #109105 - - # Gentoo Patches - # Do not create bogus entries in $dependency_libs or $libdir - # with ${D} or ${S} in them. - # <azarah@gentoo.org> - (07 April 2002) - epatch "${FILESDIR}"/1.5.10/${PN}-1.5.10-portage.patch - # If a package use an older libtool, and libtool.m4 for that - # package is updated, but not libtool, then we may run into an - # issue where internal variables are named differently. Often - # this shows up as libs being built without '.so' extension #73140 - epatch "${FILESDIR}"/1.5.10/${PN}-1.5.10-version-checking.patch - sed -i "s:@_LT_VERSION@:${PV}:" libtool.m4 || die "sed libtool.m4" - # For older autoconf setups's that do not support libtool.m4, - # $max_cmd_len are never set, causing all tests against it to - # fail, resulting in 'integer expression expected' errors and - # possible misbehaviour. - # <azarah@gentoo.org> - (11 Feb 2004) - epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-ltmain_sh-max_cmd_len.patch - - # Libtool's autoguessing at tag's sucks ... it get's confused - # if the tag's CC says '<CHOST>-gcc' and the env CC says 'gcc' - # or vice versa ... newer automakes specify the tag so no - # guessing is needed #67692 - epatch "${FILESDIR}"/1.5.6/libtool-1.5-filter-host-tags.patch - - # Libtool uses links to handle locking object files with - # dependencies. Hard links can't cross filesystems though, - # so we have to use a diff source for the link. #40992 - epatch "${FILESDIR}"/1.5.10/libtool-1.5.10-locking.patch - - # In some cases EGREP is not set by the build system. - epatch "${FILESDIR}"/1.5.14/libtool-1.5.14-egrep.patch - - # Make sure LD_LIBRARY_PATH doesn't override RUNPATH #99593 - epatch "${FILESDIR}"/1.5.20/libtool-1.5.20-override-LD_LIBRARY_PATH.patch - - ebegin "Generating ltmain.sh" - gen_ltmain_sh || die "Failed to generate ltmain.sh!" - eend 0 - - # Now let's run all our autotool stuff so that files we patch - # below don't get regenerated on us later - cp libtool.m4 acinclude.m4 - local d p - for d in . libltdl ; do - ebegin "Running autotools in '${d}'" - cd "${S}"/${d} - touch acinclude.m4 - for p in aclocal "automake -c -a" autoconf ; do - ${p} || die "${p}" - done - eend 0 - done - cd "${S}" - - epunt_cxx -} - -src_compile() { - lt_setup - econf || die - emake || die -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS - - local x - for x in libtool libtoolize ; do - help2man ${x} > ${x}.1 - doman ${x}.1 - done - - for x in $(find "${D}" -name config.guess -o -name config.sub) ; do - rm -f "${x}" ; ln -sf ../gnuconfig/$(basename "${x}") "${x}" - done - cd "${D}"/usr/share/libtool/libltdl - for x in config.guess config.sub ; do - rm -f ${x} ; ln -sfn ../${x} ${x} - done -} |