[nycbug-talk] Re: confusion with NetBSD's PKG_OPTIONS

Amitai Schlair schmonz
Mon Jan 2 15:09:16 EST 2006


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:

PKG_OPTIONS.uim=-canna

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. :-)

- Amitai




More information about the talk mailing list