Subject: Re: system-dependant PLIST
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 12/03/1999 20:10:39
The communicator package handled this - maybe not in the
cleanest fashion :)
We should probably have a few more variables available - like
${LOCALEPREFIX} or similar...
David/absolute
On Fri, 3 Dec 1999, Manuel Bouyer wrote:
> Hi,
> I'm compiling a bug of pkg on solaris and some of them don't work out of the
> box (no surprise here :)
> A common problem is the PLIST not being correct for SunOS, either because
> some programs don't get compiled, or some files are not put at the same place
> (a common case are locale messages which gnu autoconf insist to put in
> ${PREFIX}/lib instead of ${PREFIX}/share, I suppose because they are
> endian-dependant).
>
> I've though about changing bsd.pkg.mk to take pkg/PLIST-${OPSYS} instead of
> pkg/PLIST if it exists. But this lead to a lot of duplication.
>
> Another solution would be to have bsd.pkg.mk concatenate pkg/PLIST and
> pkg/PLIST-${OPSYS} if pkg/PLIST-${OPSYS} exists (a la what's done for
> static ws shared libs).
>
> Comments ?
>