summaryrefslogtreecommitdiff
path: root/devel/libtool/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libtool/patches/patch-ab')
-rw-r--r--devel/libtool/patches/patch-ab15
1 files changed, 13 insertions, 2 deletions
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
;;