Subject: Re: problems with PKGLOCALEDIR
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-pkg
Date: 11/18/2002 11:52:30
On Mon, Nov 18, 2002 at 12:21:52AM +0100, Lubomir Sedlacik wrote:
> 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.
Cool.
I can wait. I just noticed the problem on my solaris box. If you're
already working on it, it's fine with me :)
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
NetBSD: 23 ans d'experience feront toujours la difference
--