Subject: Re: idea for installing pkgsrc shells
To: Luke Mewburn <email@example.com>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 07/23/1999 15:22:02
On Fri, 23 Jul 1999, Luke Mewburn wrote:
> matt green (email@example.com) and i were discussing a feature we'd like
> to see in pkgsrc: the ability to specify that pkgsrc shells will be:
> a) statically linked
> b) installed in /bin instead of /usr/pkg/bin
> would anyone object to a new variable (e.g, INSTALL_IN_SLASHBIN)
> that we can set in the various shells' Makefiles to do the above?
How would that switch interact with PLISTs? Simply setting LOCALBASE=/
won't work (unfortunately), as this would give you /man, /lib, ...
You could do something like:
in pkg/PLIST and set BINPREFIX either to /bin or $PREFIX/bin, acorrding to
the setting of INSTALL_IN_SLASHBIN. Of course the shell's Makefile would
have to care to replace @PREFIX@ and @BINPREFIX@, and any binary packages
generated would hardcode the one or other behaviour.
BTW, the two "@cwd @BINPREFIX@" lines are on purpose. (Don't ask).
Implementing dynamic linking in the pkg is left as an exercise to the
NetBSD - Better for your uptime than Viagra