summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-03-31 10:05:57 +0000
committeragc <agc@pkgsrc.org>1999-03-31 10:05:57 +0000
commit442837d3e36845cd0e5230c47937e27b3d283263 (patch)
tree12bdc272d52492f1555b33fb124be1982fd22d82 /pkgtools
parent54068a64106e66185bea6b39433f7787491e4c54 (diff)
downloadpkgsrc-442837d3e36845cd0e5230c47937e27b3d283263.tar.gz
Add Solaris support to pkglibtool, so that the correct format of .so
names (i.e. the same as NetBSD's pkglibtool) is supported. Native Solaris support (linux version_type) gives three digit .so names, and the rest of pkgsrc uses two digit ones (sunos version_type), whether on ELF or a.out NetBSD platforms, so standardise here. Please note that this is only for the version of libtool that's used in pkgsrc.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglibtool/patches/patch-aa16
1 files changed, 15 insertions, 1 deletions
diff --git a/pkgtools/pkglibtool/patches/patch-aa b/pkgtools/pkglibtool/patches/patch-aa
index 90d128f703a..0b742360367 100644
--- a/pkgtools/pkglibtool/patches/patch-aa
+++ b/pkgtools/pkglibtool/patches/patch-aa
@@ -1,4 +1,7 @@
-$NetBSD: patch-aa,v 1.3 1999/02/14 21:14:04 tron Exp $
+$NetBSD: patch-aa,v 1.4 1999/03/31 10:05:57 agc Exp $
+
+NetBSD patches for ELF/a.out calculation
+Solaris patches to mimic NetBSD ones, for use in pkgsrc
--- ltconfig.orig Fri Mar 20 09:00:29 1998
+++ ltconfig Sun Feb 14 17:49:16 1999
@@ -34,6 +37,17 @@ $NetBSD: patch-aa,v 1.3 1999/02/14 21:14:04 tron Exp $
shlibpath_var=LD_LIBRARY_PATH
;;
+@@ -1208,8 +1220,8 @@
+ ;;
+
+ solaris2*)
+- version_type=linux
+- library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major $libname.so'
++ version_type=sunos
++ library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so'
+ soname_spec='${libname}${release}.so.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
@@ -1482,6 +1494,9 @@
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
# the resulting binary.