summaryrefslogtreecommitdiff
path: root/devel/libtool
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-07-13 02:53:56 +0000
committertv <tv@pkgsrc.org>1998-07-13 02:53:56 +0000
commit153462f2ce34c6acbc5df74656c3fe7831b07bb4 (patch)
treebadaa57a956c2689348bd1ab3564534b1350d355 /devel/libtool
parent36d40cbb07984bce4266f5602c7378f338d19e50 (diff)
downloadpkgsrc-153462f2ce34c6acbc5df74656c3fe7831b07bb4.tar.gz
For consistency between a.out and ELF NetBSD platforms, use the same
two-part versioning scheme on ELF as well.
Diffstat (limited to 'devel/libtool')
-rw-r--r--devel/libtool/patches/patch-aa11
1 files changed, 4 insertions, 7 deletions
diff --git a/devel/libtool/patches/patch-aa b/devel/libtool/patches/patch-aa
index 4ead1c8ff74..c88dcdfbced 100644
--- a/devel/libtool/patches/patch-aa
+++ b/devel/libtool/patches/patch-aa
@@ -1,5 +1,5 @@
---- ltconfig.orig Sun Jul 12 17:50:17 1998
-+++ ltconfig Sun Jul 12 18:23:58 1998
+--- ltconfig.orig Fri Mar 20 03:00:29 1998
++++ ltconfig Sun Jul 12 22:48:41 1998
@@ -808,7 +808,11 @@
netbsd*)
@@ -13,19 +13,16 @@
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -1180,9 +1184,15 @@
- ;;
+@@ -1181,8 +1185,13 @@
netbsd* | openbsd*)
-- version_type=sunos
+ version_type=sunos
- library_names_spec='${libname}${release}.so.$versuffix'
- finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
+ if [ -f /usr/lib/libc.so ]; then
-+ version_type=linux # ELF libraries (SVR4 style)
+ library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so'
+ soname_spec='${libname}${release}.so.$major'
+ else
-+ version_type=sunos # a.out libraries
+ library_names_spec='${libname}${release}.so.$versuffix'
+ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
+ fi