Subject: Re: problems with PKGLOCALEDIR
To: Manuel Bouyer <>
From: Lubomir Sedlacik <>
List: tech-pkg
Date: 11/18/2002 00:21:52
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


On Sun, Nov 17, 2002 at 08:16:15PM +0100, Manuel Bouyer wrote:
> If un understood it properly PKGLOCALEDIR was created because packages
> used to install locale stuffs in $prefix/share/locale on some systems,
> and $prefix/lib/locale on others.  Now, it seems some packages (it
> seems more common in newer packages) inconditionally install locale
> stuffs in $prefix/share/locale. How should this be fixed ? change
> PLIST to use share/locale instead of ${PKGLOCALEDIR}/locale, or fix
> the package to install locale stuff in ${PKGLOCALEDIR}/locale ?

it should be fixed.

> It seems the second solution will require a lot of patches ... several
> per packages, as for packages wich use automake, $localedir appears in
> all Makefiles. For example, for gtar-base this would be at last 4
> patches.

these patched are quite simple and not every Makefile needs to be
patched.  i am currently reviewing all packages using PKGLOCALEDIR, some
of the fixes were checked in already.  in case you can't wait some of
the patches are in pkg/18??? PRs.


-- Lubomir Sedlacik <>                   --
--                  <>                   --

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.1 (NetBSD)