summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-11-26 11:22:40 +0000
committermycroft <mycroft@pkgsrc.org>2000-11-26 11:22:40 +0000
commitc0f325e33c37f37120f5d6a238807e2056089bf4 (patch)
tree075b0ceae6b03b56a269ed4a480a87bbc2c7968a /devel
parent5847fa1f03f1d97f3691a1d4c6b5db5cdf8fe0e7 (diff)
downloadpkgsrc-c0f325e33c37f37120f5d6a238807e2056089bf4.tar.gz
*SIGH*
The previous patch could cause problems in a couple of oddball cases. So, set need_version=yes for a.out, and hack avoid-version so it works on a.out platforms.
Diffstat (limited to 'devel')
-rw-r--r--devel/libtool/files/patch-sum6
-rw-r--r--devel/libtool/patches/patch-aa15
-rw-r--r--devel/libtool/patches/patch-ab27
3 files changed, 35 insertions, 13 deletions
diff --git a/devel/libtool/files/patch-sum b/devel/libtool/files/patch-sum
index 41af51046aa..7406abc1aa5 100644
--- a/devel/libtool/files/patch-sum
+++ b/devel/libtool/files/patch-sum
@@ -1,5 +1,5 @@
-$NetBSD: patch-sum,v 1.14 2000/11/26 11:04:18 mycroft Exp $
+$NetBSD: patch-sum,v 1.15 2000/11/26 11:22:40 mycroft Exp $
-MD5 (patch-aa) = 0eef20991e5c9fd2a10dbd1f5623fb9f
-MD5 (patch-ab) = b550fbb6345a031c6ea34ee66ec257e1
+MD5 (patch-aa) = e796259223023b29dd376ee2dae1fc6c
+MD5 (patch-ab) = 01ddbafc3e9b794042542862b91948f2
MD5 (patch-ac) = be7e8b63e245f3d9ba4e19c5fd928d00
diff --git a/devel/libtool/patches/patch-aa b/devel/libtool/patches/patch-aa
index 1f4b727d3a9..803db73e7a2 100644
--- a/devel/libtool/patches/patch-aa
+++ b/devel/libtool/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.16 2000/11/26 11:03:42 mycroft Exp $
+$NetBSD: patch-aa,v 1.17 2000/11/26 11:22:40 mycroft Exp $
--- ltconfig.in.orig Sat May 27 01:58:57 2000
-+++ ltconfig.in Sun Nov 26 10:55:47 2000
++++ ltconfig.in Sun Nov 26 11:19:29 2000
@@ -1194,11 +1194,17 @@
netbsd*)
@@ -46,11 +46,9 @@ $NetBSD: patch-aa,v 1.16 2000/11/26 11:03:42 mycroft Exp $
hardcode_direct=yes
hardcode_shlibpath_var=no
;;
-@@ -2007,11 +2021,18 @@
-
+@@ -2008,13 +2022,21 @@
netbsd*)
version_type=sunos
-+ need_version=no
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
+ file_magic_cmd=/usr/bin/file
@@ -58,6 +56,7 @@ $NetBSD: patch-aa,v 1.16 2000/11/26 11:03:42 mycroft Exp $
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
dynamic_linker='NetBSD (a.out) ld.so'
++ need_version=yes
else
+ deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+ file_magic_cmd=/usr/bin/file
@@ -65,7 +64,11 @@ $NetBSD: patch-aa,v 1.16 2000/11/26 11:03:42 mycroft Exp $
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
soname_spec='${libname}${release}.so$major'
dynamic_linker='NetBSD ld.elf_so'
-@@ -2069,7 +2090,7 @@
++ need_version=no
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+@@ -2069,7 +2091,7 @@
;;
solaris*)
diff --git a/devel/libtool/patches/patch-ab b/devel/libtool/patches/patch-ab
index ebf3adbbc20..a62c0c132cf 100644
--- a/devel/libtool/patches/patch-ab
+++ b/devel/libtool/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.11 2000/09/14 10:20:46 skrll Exp $
+$NetBSD: patch-ab,v 1.12 2000/11/26 11:22:40 mycroft Exp $
---- ltmain.in.orig Sat May 27 02:53:15 2000
-+++ ltmain.in
+--- ltmain.in.orig Sat May 27 01:53:15 2000
++++ ltmain.in Sun Nov 26 11:19:57 2000
@@ -819,6 +819,7 @@
old_convenience=
deplibs=
@@ -36,7 +36,26 @@ $NetBSD: patch-ab,v 1.11 2000/09/14 10:20:46 skrll Exp $
# Some other compiler flag.
-* | +*)
# Unknown arguments in both finalize_command and compile_command need
-@@ -2146,6 +2166,7 @@
+@@ -1772,7 +1792,7 @@
+ fi
+
+ # Remove version info from name if versioning should be avoided
+- if test "$avoid_version" = yes && test "$need_version" = no; then
++ if test "$avoid_version" = yes; then
+ major=
+ versuffix=
+ verstring=""
+@@ -1799,6 +1819,9 @@
+ # rhapsody is a little odd...
+ deplibs="$deplibs -framework System"
+ ;;
++ *-*-netbsd*)
++ # Don't link with libc until the a.out ld.so is fixed.
++ ;;
+ *)
+ # Add libc to deplibs on all other systems.
+ deplibs="$deplibs -lc"
+@@ -2146,6 +2169,7 @@
if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
eval flag=\"$thread_safe_flag_spec\"
linkopts="$linkopts $flag"