NO_ knobs in /etc/make.conf

John Baldwin jhb at
Wed Jan 23 06:49:44 PST 2008

On Tuesday 22 January 2008 12:36:47 pm Vivek Khera wrote:
> On Jan 21, 2008, at 3:34 PM, Doug Barton wrote:
> > There is a cross-reference to src.conf(5) at the end of  
> > make.conf(5), but IMO the connection needs to be made more explicit.  
> > Anyone want to take that on? This should also go in the release  
> > notes if it's not already.
> So do I need to move my settings from make.conf to src.conf, or can I  
> just leave it as-is and not worry about it.  Reading the make.conf man  
> page implies it will just continue to work without change.

You can just s/NO_/WITHOUT_/g on your /etc/make.conf and leave them there.

> What was broken that required this to be "fixed"?

Inconsistent use of what NO_FOO= meant.  Some places only checked if it
was set, other places required it to be set to "yes", so NO_FOO=no
might disable FOO or it might not.  The WITHOUT_* / WITH_* scheme was
chosen to be compatible with how ports works.  If WITHOUT_FOO is defined
then FOO is disabled.  If WITH_FOO is defined, then FOO is enabled.  The
WITH_FOO/WITHOUT_FOO variables end up setting an internal MK_FOO variable
to "yes" or "no" and the actual Makefiles for FOO compare MK_FOO to
"yes" to see if they should build.

John Baldwin

More information about the freebsd-stable mailing list