Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 09:40:50 -0700
From:      Ade Lovett <ade@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Question about new options framework (regression?)
Message-ID:  <5012C492.6090200@FreeBSD.org>
In-Reply-To: <20120727162242.GA48384@ithaqua.etoilebsd.net>
References:  <501151A8.7000901@FreeBSD.org> <201207261441.q6QEfAY9002147@lurza.secnetix.de> <20120727094158.GC29866@ithaqua.etoilebsd.net> <5012B7CF.9020002@FreeBSD.org> <20120727162242.GA48384@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> The use-case is the one which is the start of this thread. Olivier has a save
> configuration of zsh and want in one shot be able to activate the STATIC option
> which is not activate in his normal zsh.

Which requires a manually-specified (via command-line) configuration to 
override whatever happens to be saved (in /var/db/ports).

Treat /etc/make.conf and /var/db/ports/<foo>/options the same.  Doesn't 
really matter -- though keeping things the way they were in terms of the 
order in which they're processed (particularly with the ?= constructs) 
is important.

However, if I specify SOMEVAR=VALUE on the command line, either as an 
environmental variable set, or a make construct, I absolutely expect it 
to be honored.

cf:  cd /usr/src; make KERNCONF=WOOT buildkernel

-aDe




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5012C492.6090200>