Commit graph

4 commits

Author SHA1 Message Date
jmmv
fb5121604f Explicitly use -g to avoid relying on default behavior. 2005-01-25 16:48:53 +00:00
jmmv
e1b9c0a3c2 Redo previous per suggestion from reed@. Do not process the alternatives
until the pkg_alternatives package has been manually installed.  This way
we drop the dependency on that package.
2005-01-25 16:29:16 +00:00
jmmv
b071961bea Make the usage of alternatives optional through the PKG_ALTERNATIVES variable,
which is similar to PKG_CONFIG.  This does not change how the binary packages
are built, only whether the pkg_alternatives command should be run at package
installation/deinstallation time or not.  The variable can take either YES or
NO as values and defaults to YES.
2005-01-25 15:37:25 +00:00
jmmv
f70b9a4716 Add alternatives.mk, a file used to manipulate the alternatives system.
A package can optionally provide an ALTERNATIVES file which contains pairs
of wrapper/alternative, one per line.  The file is then used by the install
and deinstall scripts to register the alternatives and to create the
appropriate wrappers.

Make bsd.pkg.mk include this new file.  This happens unconditionally to
keep all the alternatives logic in an independent file.  Otherwise, some
of the stuff could have to be moved to bsd.pkg.mk, breaking consistency.
2005-01-25 13:13:35 +00:00