Subject: system-dependant PLIST
To: None <tech-pkg@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-pkg
Date: 12/03/1999 19:12:48
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 ?