pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libtool unbreak libtool on irix again (somehow t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d836b4d739cc
branches:  trunk
changeset: 517852:d836b4d739cc
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Wed Aug 23 19:49:12 2006 +0000

description:
unbreak libtool on irix again (somehow this was lost a while ago)

diffstat:

 devel/libtool/distinfo         |   4 ++--
 devel/libtool/patches/patch-ac |  40 +++++++++++++++++++++++++---------------
 2 files changed, 27 insertions(+), 17 deletions(-)

diffs (136 lines):

diff -r 3b2e8bae9adc -r d836b4d739cc devel/libtool/distinfo
--- a/devel/libtool/distinfo    Wed Aug 23 19:13:24 2006 +0000
+++ b/devel/libtool/distinfo    Wed Aug 23 19:49:12 2006 +0000
@@ -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 -r 3b2e8bae9adc -r d836b4d739cc devel/libtool/patches/patch-ac
--- a/devel/libtool/patches/patch-ac    Wed Aug 23 19:13:24 2006 +0000
+++ b/devel/libtool/patches/patch-ac    Wed Aug 23 19:49:12 2006 +0000
@@ -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 @@
      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 @@
 +            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 @@
        mode=link
        for arg
        do
-@@ -1313,6 +1359,13 @@ EOF
+@@ -1375,6 +1421,13 @@
            exit $EXIT_FAILURE
            ;;
          esac
@@ -85,7 +86,7 @@
          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 @@
        continue
        ;;
  
-@@ -2013,6 +2072,30 @@ EOF
+@@ -2101,6 +2160,30 @@
          else
            compiler_flags="$compiler_flags $deplib"
          fi
@@ -129,7 +130,16 @@
          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 @@
        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 @@
          ;;
  
        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 @@
          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 @@
  
        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
  



Home | Main Index | Thread Index | Old Index