summaryrefslogtreecommitdiff
blob: 70916377b5e7e83f08d0f9de0a07af279d829af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
I notice that $EPREFIX/usr/share/libtool/config/ltmain.sh also has this
stray increment - so I'd assume that this is a bug in libtool (which is
perhaps trying to fix a deprecated behaviour of old IRIX versions?).

http://bugs.gentoo.org/show_bug.cgi?id=301520


--- ltmain.sh.dist	2010-01-19 14:04:22.101603800 +0000
+++ ltmain.sh	2010-01-19 14:08:29.361500240 +0000
@@ -6225,7 +6225,6 @@ func_mode_link ()
 	    current=$func_arith_result
 	    age="$number_minor"
 	    revision="$number_minor"
-	    lt_irix_increment=no
 	    ;;
 	  esac
 	  ;;
@@ -6297,11 +6296,7 @@ func_mode_link ()
 	  ;;
 
 	irix | nonstopux)
-	  if test "X$lt_irix_increment" = "Xno"; then
-	    func_arith $current - $age
-	  else
-	    func_arith $current - $age + 1
-	  fi
+	  func_arith $current - $age
 	  major=$func_arith_result
 
 	  case $version_type in