summaryrefslogtreecommitdiff
path: root/devel/libtool/patches
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-07-13 01:53:49 +0000
committertv <tv@pkgsrc.org>1998-07-13 01:53:49 +0000
commit36d40cbb07984bce4266f5602c7378f338d19e50 (patch)
tree3ef2ce8109498bc6f6137fbca044eb1030b841a0 /devel/libtool/patches
parentcf2bb8ecf65712c50eaff8b302ea0c3c4309c9df (diff)
downloadpkgsrc-36d40cbb07984bce4266f5602c7378f338d19e50.tar.gz
Add and activate libtool (with a.out and ELF support), a GNU utility for
making static and shared libraries in a machine-independent fashion.
Diffstat (limited to 'devel/libtool/patches')
-rw-r--r--devel/libtool/patches/patch-aa43
-rw-r--r--devel/libtool/patches/patch-ab11
2 files changed, 33 insertions, 21 deletions
diff --git a/devel/libtool/patches/patch-aa b/devel/libtool/patches/patch-aa
index 8a3acab1cee..4ead1c8ff74 100644
--- a/devel/libtool/patches/patch-aa
+++ b/devel/libtool/patches/patch-aa
@@ -1,11 +1,34 @@
---- doc/libtool.texi.orig Wed Mar 11 02:04:36 1998
-+++ doc/libtool.texi Mon Apr 27 16:57:24 1998
-@@ -10,7 +10,7 @@
- @set BUGADDR the libtool mailing list @email{<bug-libtool@@gnu.org>}
- @set objdir .libs
+--- ltconfig.orig Sun Jul 12 17:50:17 1998
++++ ltconfig Sun Jul 12 18:23:58 1998
+@@ -808,7 +808,11 @@
+
+ netbsd*)
+ # Tested with NetBSD 1.2 ld
+- archive_cmds='$LD -Bshareable -o $lib$libobjs'
++ if [ -f /usr/lib/libc.so ]; then
++ archive_cmds='$LD -shared -o $lib$libobjs' # ELF
++ else
++ archive_cmds='$LD -Bshareable -o $lib$libobjs' # a.out
++ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+@@ -1180,9 +1184,15 @@
+ ;;
+
+ netbsd* | openbsd*)
+- 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
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
--@dircategory GNU programming tools
-+@dircategory Programming & development tools
- @direntry
- * Libtool: (libtool). Generic shared library support script.
- @end direntry
diff --git a/devel/libtool/patches/patch-ab b/devel/libtool/patches/patch-ab
deleted file mode 100644
index ef0aedff5c3..00000000000
--- a/devel/libtool/patches/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- doc/Makefile.in.orig Fri Mar 20 17:01:52 1998
-+++ doc/Makefile.in Mon Apr 27 17:22:55 1998
-@@ -56,7 +56,7 @@
- LD = @LD@
- LIBTOOL = @LIBTOOL@
- LN_S = @LN_S@
--MAKEINFO = @MAKEINFO@
-+MAKEINFO = @MAKEINFO@ --no-split
- NM = @NM@
- PACKAGE = @PACKAGE@
- RANLIB = @RANLIB@