Subject: pkg/29966: three packages have locale PLIST problems on Solaris (at least)
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/14/2005 05:21:00
>Number:         29966
>Category:       pkg
>Synopsis:       three packages have locale PLIST problems on Solaris (at least)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 14 05:21:00 +0000 2005
>Originator:     Simon Kuhn
>Release:        pkgsrc-current
Case Western Reserve University
SunOS reducto 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V240 Solaris

Two packages (that I have found) do not set USE_PKGLOCALDIR=YES in their Makefile, but use ${PKGLOCALEDIR} in their PLIST file.

On Solaris this causes the locale files to install to /usr/local/share/locale rather than /usr/local/lib/locale, and so those files are not properly packaged. On other operating systems where locales go to /usr/local/lib/locale by default this probably goes unnoticed.

The two packages in question are subversion-base and libgnomecups. There are probably others that I have not installed yet.

A third package installs locale files into /usr/local/share/locale/ but does not do anything with them at all. This is bison, which doesn't list its locale files in its PLIST at all. It also needs USE_PKGLOCALEDIR=YES in its Makefile once the PLIST is fixed.
Build and install on Solaris 9.
Add to bison/Makefile, subversion-base/Makefile, libgnomecups/Makefile:


Add to bison/PLIST: