Subject: Re: problems with PKGLOCALEDIR
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 11/18/2002 00:21:52
--xo44VMWPx7vlQ2+2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

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.


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

--xo44VMWPx7vlQ2+2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE92CSQiwjDDlS8cmMRAgV/AJ9Qn6lcYy5fkLKxGqPkY/xl3GFm5gCaAu/r
LV1P4ieAihPhtHKDTRMq7T4=
=Pqt/
-----END PGP SIGNATURE-----

--xo44VMWPx7vlQ2+2--