diff options
author | tv <tv@pkgsrc.org> | 2005-09-21 20:31:21 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-09-21 20:31:21 +0000 |
commit | f64dae4cb13919bc3c65442e4159ae901aa119d8 (patch) | |
tree | 960016c4345a8ce28788fbd814bf3cbdbfc28255 /devel/libtool/patches | |
parent | ded47cd9f9883cfd4fe1b023cabdf40ac8dba4f5 (diff) | |
download | pkgsrc-f64dae4cb13919bc3c65442e4159ae901aa119d8.tar.gz |
Add change from MirOS that resets $versuffix2 to empty if -avoid-version is used;
makes -avoid-version work properly on platforms using $versuffix2 (e.g., OpenBSD,
FreeBSD, DragonFly). Bump PKGREVISION (and will bump LIBTOOL_REQD shortly).
MirOS change by Benny Siegert <bsiegert@mirbsd.org>.
Noted in private mail by Thorsten Glaser <tg@66h.42h.de>.
Diffstat (limited to 'devel/libtool/patches')
-rw-r--r-- | devel/libtool/patches/patch-ac | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/devel/libtool/patches/patch-ac b/devel/libtool/patches/patch-ac index 66a36d4ddac..88d1435474f 100644 --- a/devel/libtool/patches/patch-ac +++ b/devel/libtool/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.19 2005/06/05 18:04:37 tv Exp $ +$NetBSD: patch-ac,v 1.20 2005/09/21 20:31:21 tv Exp $ --- ltmain.sh.orig 2005-05-16 05:39:29.000000000 -0400 +++ ltmain.sh @@ -129,7 +129,15 @@ $NetBSD: patch-ac,v 1.19 2005/06/05 18:04:37 tv Exp $ continue ;; -l*) -@@ -3202,6 +3285,7 @@ EOF +@@ -3153,6 +3236,7 @@ EOF + # Calculate the version variables. + major= + versuffix= ++ versuffix2= + verstring= + case $version_type in + none) ;; +@@ -3202,6 +3286,7 @@ EOF linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" @@ -137,7 +145,15 @@ $NetBSD: patch-ac,v 1.19 2005/06/05 18:04:37 tv Exp $ ;; osf) -@@ -5462,8 +5546,16 @@ relink_command=\"$relink_command\"" +@@ -3264,6 +3349,7 @@ EOF + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= ++ versuffix2= + verstring="" + fi + +@@ -5462,8 +5548,16 @@ relink_command=\"$relink_command\"" exit $EXIT_FAILURE fi |