Subject: pkg/23058: set version_type=sunos for bsdi in libtool
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 10/04/2003 23:06:12
>Number:         23058
>Category:       pkg
>Synopsis:       set version_type=sunos for bsdi in libtool
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 05 06:07:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
libtool-base, libiconv, apr, imap-uw, gettext-lib were all installing
wrong .so files.
>How-To-Repeat:
	
>Fix:

May I commit this?

Index: devel/libtool/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/patches/patch-aa,v
retrieving revision 1.30
diff -b -u -r1.30 patch-aa
--- devel/libtool/patches/patch-aa	27 Mar 2003 18:56:58 -0000	1.30
+++ devel/libtool/patches/patch-aa	4 Oct 2003 19:57:28 -0000
@@ -1,7 +1,14 @@
-$NetBSD: patch-aa,v 1.30 2003/03/27 18:56:58 jschauma Exp $
+--- ltconfig.in.orig	Mon May 21 00:05:06 2001
++++ ltconfig.in	Sat Oct  4 14:32:02 2003
+@@ -1052,7 +1052,7 @@
+   ;;

---- ltconfig.in.orig	Sun May 20 21:05:06 2001
-+++ ltconfig.in	Thu Mar 27 10:05:44 2003
+ bsdi4*)
+-  version_type=linux
++  version_type=sunos
+   need_version=no
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+   soname_spec='${libname}${release}.so$major'
 @@ -1104,7 +1104,7 @@
    version_type=darwin
    need_lib_prefix=no
Index: devel/libtool/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/distinfo,v
retrieving revision 1.27
diff -b -u -r1.27 distinfo
--- devel/libtool/distinfo	25 Sep 2003 02:41:52 -0000	1.27
+++ devel/libtool/distinfo	4 Oct 2003 19:57:28 -0000
@@ -2,7 +2,7 @@

 SHA1 (libtool-ml-20010614.tar.gz) = ff746666737e420592c3017d65bf4c47f1430dac
 Size (libtool-ml-20010614.tar.gz) = 784246 bytes
-SHA1 (patch-aa) = a3b37684e39b34077c3026a72787218942648bdf
+SHA1 (patch-aa) = 6f7676483937802526b2f6dc89ba08f0019ed374
 SHA1 (patch-ab) = 82350e1a9b03ecb8a26ebd02692f5cb3bb289fae
 SHA1 (patch-ac) = 61196acaa12edee0b1209b2ba7c6414453bfa438
 SHA1 (patch-ad) = 6aab76688d0f55648e35adc45a3492ba9c87acfb


It may be useful to match bsdi* instead of bsdi4, but I will research that
later. Also, I have been adding support for BSD/OS, but still haven't
imported my defs.BSDOS.mk and /mk/BSDOS.pkg.dist files yet. I am waiting
for feedback. I have built and installed over 14 packages fine.
>Release-Note:
>Audit-Trail:
>Unformatted: