summaryrefslogtreecommitdiff
path: root/devel/libtool
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2006-08-23 19:49:12 +0000
committerjschauma <jschauma@pkgsrc.org>2006-08-23 19:49:12 +0000
commitb23953604ea99f664f99e05d2ddc480e65e20687 (patch)
tree977ce175010da75f1691f4f99feb8cf96be7f00b /devel/libtool
parent2d0ad816240960bd94dc631c0424147517b62d0e (diff)
downloadpkgsrc-b23953604ea99f664f99e05d2ddc480e65e20687.tar.gz
unbreak libtool on irix again (somehow this was lost a while ago)
Diffstat (limited to 'devel/libtool')
-rw-r--r--devel/libtool/distinfo4
-rw-r--r--devel/libtool/patches/patch-ac40
2 files changed, 27 insertions, 17 deletions
diff --git a/devel/libtool/distinfo b/devel/libtool/distinfo
index b70fa1d0db9..de108cc7fd6 100644
--- a/devel/libtool/distinfo
+++ b/devel/libtool/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.67 2006/02/28 23:34:46 joerg Exp $
+$NetBSD: distinfo,v 1.68 2006/08/23 19:49:12 jschauma Exp $
SHA1 (libtool-1.5.22.tar.gz) = 17353e66aeaac80ae188ea0a3a90609550ce3254
RMD160 (libtool-1.5.22.tar.gz) = 7cbe793ee0509908daac928b4dc3a0f16f7293bf
Size (libtool-1.5.22.tar.gz) = 2921483 bytes
SHA1 (patch-aa) = 4c979de3439dfffa48295e094c1aee40c7e79fa6
SHA1 (patch-ab) = e8cf42513805e70a96536c55921c230a7e5244b1
-SHA1 (patch-ac) = 88fd5714cd0a27e47d17179c894edca3c81b2ecf
+SHA1 (patch-ac) = 40d18dfe690ad7b76f1dae98df55fdc7e46ccd10
SHA1 (patch-ad) = 22b871497d955b2de26a632513a11f3dd16e7286
diff --git a/devel/libtool/patches/patch-ac b/devel/libtool/patches/patch-ac
index e18f05b6b43..51b2e743821 100644
--- a/devel/libtool/patches/patch-ac
+++ b/devel/libtool/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
+$NetBSD: patch-ac,v 1.22 2006/08/23 19:49:12 jschauma Exp $
---- ltmain.sh.orig 2005-05-16 05:39:29.000000000 -0400
-+++ ltmain.sh
-@@ -188,6 +188,31 @@ func_win32_libid ()
+--- ltmain.sh.orig Sun Dec 18 17:14:54 2005
++++ ltmain.sh Wed Aug 23 15:40:14 2006
+@@ -226,6 +226,31 @@
# arg is usually of the form 'gcc ...'
func_infer_tag ()
{
@@ -34,7 +34,7 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
if test -n "$available_tags" && test -z "$tagname"; then
CC_quoted=
for arg in $CC; do
-@@ -228,6 +253,27 @@ func_infer_tag ()
+@@ -266,7 +291,28 @@
break
;;
esac
@@ -58,11 +58,12 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
+ if test -n "$tagname"; then
+ break
+ fi
-+ fi
fi
++ fi
done
# If $tagname still isn't set, then no tagged configuration
-@@ -512,7 +558,7 @@ if test -z "$show_help"; then
+ # was found and let the user know that the "--tag" command
+@@ -568,7 +614,7 @@
$echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
$echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
case $nonopt in
@@ -71,7 +72,7 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
mode=link
for arg
do
-@@ -1313,6 +1359,13 @@ EOF
+@@ -1375,6 +1421,13 @@
exit $EXIT_FAILURE
;;
esac
@@ -85,7 +86,7 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
if test "$prev" = rpath; then
case "$rpath " in
*" $arg "*) ;;
-@@ -1523,6 +1576,12 @@ EOF
+@@ -1604,6 +1657,12 @@
compiler_flags="$compiler_flags $arg"
compile_command="$compile_command $arg"
finalize_command="$finalize_command $arg"
@@ -98,7 +99,7 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
continue
;;
-@@ -2013,6 +2072,30 @@ EOF
+@@ -2101,6 +2160,30 @@
else
compiler_flags="$compiler_flags $deplib"
fi
@@ -129,7 +130,16 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
continue
;;
-l*)
-@@ -3153,6 +3236,7 @@ EOF
+@@ -3197,7 +3280,7 @@
+ age="0"
+ ;;
+ irix|nonstopux)
+- current=`expr $number_major + $number_minor - 1`
++ current=`expr $number_major + $number_minor`
+ age="$number_minor"
+ revision="$number_minor"
+ ;;
+@@ -3247,6 +3330,7 @@
# Calculate the version variables.
major=
versuffix=
@@ -137,7 +147,7 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
verstring=
case $version_type in
none) ;;
-@@ -3202,6 +3286,7 @@ EOF
+@@ -3296,6 +3380,7 @@
linux)
major=.`expr $current - $age`
versuffix="$major.$age.$revision"
@@ -145,7 +155,7 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
;;
osf)
-@@ -3264,6 +3349,7 @@ EOF
+@@ -3358,6 +3443,7 @@
if test "$avoid_version" = yes && test "$need_version" = no; then
major=
versuffix=
@@ -153,7 +163,7 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
verstring=""
fi
-@@ -3409,12 +3495,13 @@ EOF
+@@ -3409,12 +3495,13 @@
oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
fi
@@ -173,7 +183,7 @@ $NetBSD: patch-ac,v 1.21 2006/02/28 23:34:46 joerg Exp $
if test -n "$xrpath"; then
# If the user specified any rpath flags, then add them.
-@@ -5820,8 +5907,16 @@ relink_command=\"$relink_command\""
+@@ -5820,8 +5907,16 @@
exit $EXIT_FAILURE
fi