Subject: Re: missing .so files on BSD/OS
To: None <tech-pkg@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/04/2003 13:02:45
On Sun, 5 Oct 2003, grant beattie wrote:

> you will probably need to set version_type=sunos for bsdi in libtool,
> see libtool/patches/patch-aa.

Thank you! That is what I needed.

libtool-base, libiconv, apr, imap-uw now all install and deinstall fine.
(I manually removed unregistered old libraries because ldconfig was
relinking, but all is well now.) (I should check my gettext-lib install
...)

By the way, www/apache2 built and installed fine even with the different
libs.

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 14 packages fine.

(Well, the openssh ssh client works, but openssh sshd does not. I will fix
that. And sendmail is having problems due to getipnodebyaddr doesn't match
prototype.)

   Jeremy C. Reed
   http://bsd.reedmedia.net/