[Midnightbsd-mports] Extension Loading
Chris Reinhardt
ctriv at midnightbsd.org
Wed May 21 21:29:31 EDT 2008
On Wed, May 21, 2008 at 9:11 PM, Lucas Holt <luke at foolishgames.com> wrote:
> What is the distinction between USE_FOO and WANT_FOO? A quick grep seems to
> show that USE_FOO=foo and WANT_FOO=yes do the same thing with many of the
> variables. Should we come up with rules to just use USE_FOO ?
>
> Does WANT_ variants do something different with build and/or run depends
> than USE_ do?
The exact semantics are (sadly) up to each extension. These things
grew organically in FreeBSD land and they aren't very standardized.
I'm not really looking into what the variables do in the final scheme
of things, I'm just looking at what variables will cause an extension
to be loaded. The basic list is USE_FOO, USE_FOO_BUILD, USE_FOO_RUN,
WANT_FOO, USE_FOO_NOT, and LOAD_FOO_EXT. I actually think this list
to be too long, but it will have to remain at this length for the time
being.
Chris.
--
Chris Reinhardt - chris.reinhardt at gmail.com
More information about the Midnightbsd-mports
mailing list