Subject: pkg/23353: libtool library_names_spec for solaris needs fixing
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/02/2003 22:50:44
>Number:         23353
>Category:       pkg
>Synopsis:       libtool library_names_spec for solaris needs fixing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 03 03:48:00 UTC 2003
>Originator:     Dan McMahill
>Release:        libtool-base-1.4.20010614nb16
Solaris9/sparc, bootstrap pkgsrc from late october, 2003.

System: NetBSD cowboy-burt 1.4.3A NetBSD 1.4.3A (COWBOY-BURT) #1: Fri Jul 20 06:58:40 EDT 2001 dan@cowboy-burt:/mnt/syssrc-1-4/sys/arch/sparc/compile/COWBOY-BURT sparc

The library_names_spec in the pkgsrc libtool for solaris is lacking the  ${libname}${release}.so
part which netbsd elf has.  The effect is that on a package such as graphics/jasper, the PLIST
entry lib/ will be missing.


cd graphics/jasper && bmake install


This is the solaris part of devel/libtool/patch-aa which seems to fix the problem.  In
particular, the library_names_spec change is the change I'm proposing.  This makes the set of
links match the netbsd*) section.  I did't send the actual patch because diffs of diffs are hard
to read.  The version_type=sunos part is already part of patch-aa.

-  version_type=linux
+  version_type=sunos
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $'
+  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $lib'