From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 9 21:10:58 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ECC216A478 for ; Fri, 9 Jun 2006 21:10:58 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AC6443D98 for ; Fri, 9 Jun 2006 21:10:55 +0000 (GMT) (envelope-from freebsd@bitfreak.org) Received: from [10.242.169.24] (c-67-171-135-169.hsd1.or.comcast.net [67.171.135.169]) by mail.bitfreak.org (Postfix) with ESMTP id 87AC817594; Fri, 9 Jun 2006 14:10:54 -0700 (PDT) Message-ID: <4489E3DE.10202@bitfreak.org> Date: Fri, 09 Jun 2006 14:10:54 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: "M. Warner Losh" References: <20060609094052.GH1273@obiwan.tataz.chchile.org> <20060609.074844.1324583587.imp@bsdimp.com> In-Reply-To: <20060609.074844.1324583587.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.ORG, jeremie@le-hen.org Subject: Re: How to disable a src.conf on command-line X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 21:10:58 -0000 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