pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libtool Fix version_type settings for the non-Ne...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60da15b843ec
branches:  trunk
changeset: 469432:60da15b843ec
user:      markd <markd%pkgsrc.org@localhost>
date:      Mon Feb 23 10:54:08 2004 +0000

description:
Fix version_type settings for the non-NetBSD platforms in the CXX and
F77 cases.

PKGREVISION++

diffstat:

 devel/libtool/Makefile.common  |    4 +-
 devel/libtool/distinfo         |    4 +-
 devel/libtool/patches/patch-ab |  138 ++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 140 insertions(+), 6 deletions(-)

diffs (178 lines):

diff -r b757ade3c5c7 -r 60da15b843ec devel/libtool/Makefile.common
--- a/devel/libtool/Makefile.common     Mon Feb 23 10:30:47 2004 +0000
+++ b/devel/libtool/Makefile.common     Mon Feb 23 10:54:08 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.46 2004/02/18 07:55:51 skrll Exp $
+# $NetBSD: Makefile.common,v 1.47 2004/02/23 10:54:08 markd Exp $
 #
 
 DISTNAME=      libtool-1.5.2
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    devel pkgtools
 MASTER_SITES=  ${MASTER_SITE_GNU:=libtool/}
 
diff -r b757ade3c5c7 -r 60da15b843ec devel/libtool/distinfo
--- a/devel/libtool/distinfo    Mon Feb 23 10:30:47 2004 +0000
+++ b/devel/libtool/distinfo    Mon Feb 23 10:54:08 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.36 2004/02/18 07:55:51 skrll Exp $
+$NetBSD: distinfo,v 1.37 2004/02/23 10:54:08 markd Exp $
 
 SHA1 (libtool-1.5.2.tar.gz) = d6f1e8fb544d71b3c88fb959521b34b9b6290260
 Size (libtool-1.5.2.tar.gz) = 2653072 bytes
 SHA1 (patch-aa) = 173b8f40ebb067e3bcea798b87e822a445d5688e
-SHA1 (patch-ab) = 89875726d4952299cb7dda046697ba5393546f5e
+SHA1 (patch-ab) = 92420408da69d60d26e2d3efcc4a419d57f2fd00
 SHA1 (patch-ac) = b09fb38a59875a60bb51c9fb487e940521a71715
 SHA1 (patch-ad) = e2d7a160b2b673346309996b99c423f6b927d1df
diff -r b757ade3c5c7 -r 60da15b843ec devel/libtool/patches/patch-ab
--- a/devel/libtool/patches/patch-ab    Mon Feb 23 10:30:47 2004 +0000
+++ b/devel/libtool/patches/patch-ab    Mon Feb 23 10:54:08 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.31 2004/02/08 11:21:58 skrll Exp $
+$NetBSD: patch-ab,v 1.32 2004/02/23 10:54:08 markd Exp $
 
---- configure.orig     2004-01-25 12:36:38.000000000 +0000
+--- configure.orig     2004-01-26 01:36:38.000000000 +1300
 +++ configure
 @@ -4424,10 +4424,13 @@ beos*)
    lt_cv_deplibs_check_method=pass_all
@@ -116,3 +116,137 @@
    # Clean up.
    rm -f a.out a.exe
  else
+@@ -11828,9 +11842,10 @@ beos*)
+   shlibpath_var=LIBRARY_PATH
+   ;;
+ 
+-bsdi4*)
+-  version_type=linux
++bsdi*)
++  version_type=sunos
+   need_version=no
++  need_lib_prefix=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+   soname_spec='${libname}${release}${shared_ext}$major'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+@@ -11946,15 +11961,15 @@ kfreebsd*-gnu)
+ 
+ freebsd*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+-  version_type=freebsd-$objformat
+-  case $version_type in
+-    freebsd-elf*)
+-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  case $objformat in
++    elf*)
++      soname_spec='${libname}${release}${shared_ext}$major'
+       need_version=no
+       need_lib_prefix=no
+       ;;
+-    freebsd-*)
+-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++    *)
+       need_version=yes
+       ;;
+   esac
+@@ -12033,12 +12048,7 @@ hpux9* | hpux10* | hpux11*)
+ irix5* | irix6* | nonstopux*)
+   case $host_os in
+     nonstopux*) version_type=nonstopux ;;
+-    *)
+-      if test "$lt_cv_prog_gnu_ld" = yes; then
+-              version_type=linux
+-      else
+-              version_type=irix
+-      fi ;;
++    *) version_type=sunos ;;
+   esac
+   need_lib_prefix=no
+   need_version=no
+@@ -12074,7 +12084,7 @@ linux*oldld* | linux*aout* | linux*coff*
+ 
+ # This must be Linux ELF.
+ linux*)
+-  version_type=linux
++  version_type=sunos
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+@@ -12198,7 +12208,7 @@ sco3.2v5*)
+   ;;
+ 
+ solaris*)
+-  version_type=linux
++  version_type=sunos
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+@@ -14968,9 +14978,10 @@ beos*)
+   shlibpath_var=LIBRARY_PATH
+   ;;
+ 
+-bsdi4*)
+-  version_type=linux
++bsdi*)
++  version_type=sunos
+   need_version=no
++  need_lib_prefix=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+   soname_spec='${libname}${release}${shared_ext}$major'
+   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+@@ -15086,15 +15097,15 @@ kfreebsd*-gnu)
+ 
+ freebsd*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+-  version_type=freebsd-$objformat
+-  case $version_type in
+-    freebsd-elf*)
+-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
++  version_type=sunos
++  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++  case $objformat in
++    elf*)
++      soname_spec='${libname}${release}${shared_ext}$major'
+       need_version=no
+       need_lib_prefix=no
+       ;;
+-    freebsd-*)
+-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
++    *)
+       need_version=yes
+       ;;
+   esac
+@@ -15173,12 +15184,7 @@ hpux9* | hpux10* | hpux11*)
+ irix5* | irix6* | nonstopux*)
+   case $host_os in
+     nonstopux*) version_type=nonstopux ;;
+-    *)
+-      if test "$lt_cv_prog_gnu_ld" = yes; then
+-              version_type=linux
+-      else
+-              version_type=irix
+-      fi ;;
++    *) version_type=sunos ;;
+   esac
+   need_lib_prefix=no
+   need_version=no
+@@ -15214,7 +15220,7 @@ linux*oldld* | linux*aout* | linux*coff*
+ 
+ # This must be Linux ELF.
+ linux*)
+-  version_type=linux
++  version_type=sunos
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+@@ -15338,7 +15344,7 @@ sco3.2v5*)
+   ;;
+ 
+ solaris*)
+-  version_type=linux
++  version_type=sunos
+   need_lib_prefix=no
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'



Home | Main Index | Thread Index | Old Index