Date: Fri, 09 Jun 2006 14:10:54 -0700 From: Darren Pilgrim <freebsd@bitfreak.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-hackers@FreeBSD.ORG, jeremie@le-hen.org Subject: Re: How to disable a src.conf on command-line Message-ID: <4489E3DE.10202@bitfreak.org> In-Reply-To: <20060609.074844.1324583587.imp@bsdimp.com> References: <20060609094052.GH1273@obiwan.tataz.chchile.org> <20060609.074844.1324583587.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote: > So if you make WITH_SSP off by default, then having WITH_SSP in the > src.conf can't be overridden. If you have it on by default, having > WITHOUT_SSP in the src.conf file can't be overriden. this appears to > be an unintended flaw with the with/without stuff. I'm not sure the > right way to compensate. I can't speak for the "right" way, but if you specify the variable in src.conf/make.conf with ?= instead of =, you can override it on the command-line: # grep KERNCONF /etc/make.conf KERNCONF?=TTPWEB # make -V KERNCONF TTPWEB # env KERNCONF=SOMETHING_ELSE make -V KERNCONF SOMETHING_ELSE -- Darren Pilgrim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4489E3DE.10202>