[nycbug-talk] Re: confusion with NetBSD's PKG_OPTIONS
scottro at nyc.rr.com
Mon Jan 2 15:22:20 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, Jan 02, 2006 at 03:09:16PM -0500, Amitai Schlair wrote:
> On Jan 2, 2006, at 1:36 PM, Jan Schaumann wrote:
> >$ make PKG_OPTIONS.uim="anthy gtk -canna"
> >Seems to be what you want, I think.
> In the options framework, if you want to enable options that are disabled by
> default, you just name them; if you want to disable options that are enabled by
> default, you have to prefix them with a "-". In this case, since anthy and gtk
> are enabled by default and you want to keep them, you don't need to mention
> them explicitly; and since canna is enabled by default and you don't want it,
> you need a "-canna" somewhere. The sum total of which is:
Heh, see my next post, which I wrote before seeing yours. :)
> I recommend putting this in /etc/mk.conf so it works the way you want if you
> ever have to rebuild, without having to remember anything. :-)
According to that page on pkgsrc, using mk.conf for this is deprecated.
On the other hand, many knowledgeable NetBSD folks seem to feel that
putting these things in mk.conf is the best idea.
Thanks for confirming that it isn't necessary to put in the default
options. As I said in my last post, that seemed to be the case, but I
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Wicca girl: We come together, daughters of Gaia, sisters to the
moon. We walk with the darkness, the wolf at our side. Through the
waterfall of power, to the blackest heart of eternity. I think we
should have a bake sale.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the talk