summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-05 08:19:19 +0000
committergrant <grant@pkgsrc.org>2003-10-05 08:19:19 +0000
commita8f9a4f0105af27d6865f434eb4b42812d40aa97 (patch)
tree872542da2073741a5ef3e133b53b09a5ed31d603 /devel
parent61c7419ca13a7a77bd159392222a0e7f0e967761 (diff)
downloadpkgsrc-a8f9a4f0105af27d6865f434eb4b42812d40aa97.tar.gz
make the library names we create on Darwin be consistent with what
pkgsrc expects and what other platforms use. note that we can't simply use version_type=sunos, since the Darwin linker requires libtool to pass -compatibility_version and -current_version so they are coded into the library header. this fixes the problem of having libname.x.dylib files which were not registered in the PLIST, and thus were leftover after package removal. ok'd by jlam.
Diffstat (limited to 'devel')
-rw-r--r--devel/libtool/Makefile.common4
-rw-r--r--devel/libtool/distinfo4
-rw-r--r--devel/libtool/patches/patch-ab15
3 files changed, 17 insertions, 6 deletions
diff --git a/devel/libtool/Makefile.common b/devel/libtool/Makefile.common
index 9476001edd7..379b721f5ba 100644
--- a/devel/libtool/Makefile.common
+++ b/devel/libtool/Makefile.common
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.33 2003/09/25 02:09:03 danw Exp $
+# $NetBSD: Makefile.common,v 1.34 2003/10/05 08:19:19 grant Exp $
#
DISTNAME= libtool-ml-20010614
PKGPFX= ${DISTNAME:C/ml-/1.4./}
-PKGREVISION= 15
+PKGREVISION= 16
WRKSRC= ${WRKDIR}/libtool-ml
CATEGORIES= devel pkgtools
MASTER_SITES= ${MASTER_SITE_LOCAL}
diff --git a/devel/libtool/distinfo b/devel/libtool/distinfo
index c228a4424dc..f6588539035 100644
--- a/devel/libtool/distinfo
+++ b/devel/libtool/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.27 2003/09/25 02:41:52 danw Exp $
+$NetBSD: distinfo,v 1.28 2003/10/05 08:19:19 grant Exp $
SHA1 (libtool-ml-20010614.tar.gz) = ff746666737e420592c3017d65bf4c47f1430dac
Size (libtool-ml-20010614.tar.gz) = 784246 bytes
SHA1 (patch-aa) = a3b37684e39b34077c3026a72787218942648bdf
-SHA1 (patch-ab) = 82350e1a9b03ecb8a26ebd02692f5cb3bb289fae
+SHA1 (patch-ab) = 76d0762ff80ddeac72a740383797502ab2ee4921
SHA1 (patch-ac) = 61196acaa12edee0b1209b2ba7c6414453bfa438
SHA1 (patch-ad) = 6aab76688d0f55648e35adc45a3492ba9c87acfb
SHA1 (patch-ae) = 03de2a4fc9d828d62c6e6126ecf2dbbfeb1d82ea
diff --git a/devel/libtool/patches/patch-ab b/devel/libtool/patches/patch-ab
index 6a7bf6d6ee7..42c47115dd2 100644
--- a/devel/libtool/patches/patch-ab
+++ b/devel/libtool/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.28 2003/01/21 22:43:42 grant Exp $
+$NetBSD: patch-ab,v 1.29 2003/10/05 08:19:19 grant Exp $
---- ltmain.sh.orig Thu Jun 14 14:06:50 2001
+--- ltmain.sh.orig 2001-06-14 14:06:50.000000000 +1000
+++ ltmain.sh
@@ -211,6 +211,8 @@ do
--mode) prevopt="--mode" prev=mode ;;
@@ -151,6 +151,17 @@ $NetBSD: patch-ab,v 1.28 2003/01/21 22:43:42 grant Exp $
tmp_libs="$tmp_libs $deplib"
done
+@@ -2564,8 +2592,8 @@ EOF
+ darwin)
+ # Like Linux, but with the current version available in
+ # verstring for coding it into the library header
+- major=.`expr $current - $age`
+- versuffix="$major.$age.$revision"
++ major=".$current"
++ versuffix=".$current.$revision"
+ # Darwin ld doesn't like 0 for these options...
+ minor_current=`expr $current + 1`
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
@@ -2582,7 +2610,7 @@ EOF
;;