Subject: problems with PKGLOCALEDIR
To: None <tech-pkg@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-pkg
Date: 11/17/2002 20:16:15
Hi,
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 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.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--