Subject: pkg/23353: libtool library_names_spec for solaris needs fixing
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dmcmahill@netbsd.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Dan McMahill
>Release: libtool-base-1.4.20010614nb16
>Organization:
NetBSD
>Environment:
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
>Description:
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/libjasper-1.600.so will be missing.
>How-To-Repeat:
cd graphics/jasper && bmake install
>Fix:
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.
solaris*)
- version_type=linux
+ version_type=sunos
need_lib_prefix=no
need_version=no
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $lib
name.so'
soname_spec='${libname}${release}.so$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
>Release-Note:
>Audit-Trail:
>Unformatted: