Date: Thu, 26 Jul 2012 02:00:34 +0200 From: Olli Hauer <ohauer@FreeBSD.org> To: freebsd-ports <freebsd-ports@freebsd.org> Cc: FreeBSD Ports <ports@freebsd.org>, Baptiste Daroussin <bapt@freebsd.org>, Scot Hetzel <swhetzel@gmail.com>, Oliver Fromme <olli@lurza.secnetix.de> Subject: Re: Question about new options framework (regression?) Message-ID: <501088A2.3030208@FreeBSD.org> In-Reply-To: <20120725225736.GD13771@ithaqua.etoilebsd.net> References: <20120725155932.GA13771@ithaqua.etoilebsd.net> <201207251709.q6PH9mpJ086314@lurza.secnetix.de> <CACdU%2Bf_RW6eWdW9sZsTDfx7bz7L54u5C6qj-e9cBy714WM6KQA@mail.gmail.com> <5010640B.6070107@FreeBSD.org> <20120725225736.GD13771@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-07-26 00:57, Baptiste Daroussin wrote: > On Wed, Jul 25, 2012 at 11:24:27PM +0200, Olli Hauer wrote: >> On 2012-07-25 20:18, Scot Hetzel wrote: >>> On Wed, Jul 25, 2012 at 12:09 PM, Oliver Fromme <olli@lurza.secnetix.de> wrote: >> >> The following diff will restore the old behavior so make.conf and command params have priority. >> (Place the make.conf part after the OPTIONS_FILE_SET part) >> >> Until now I cannot see why the OPTIONS file should always win. >> > > because the priority goes to global to specific and the most specific is the > options file. > > if most people want the options file to not have the final priority, why not, > can others spread their opinion here? > The power of make.conf was to specify / overwrite a dedicated behavior (same like src.conf) globally or per directory regardless what is defined in options. A valid use case was given with shell/zsh. Say someone don't want to have DB-A in the network (because of the license ...) and set global without DB-A and use DB-B instead, once there is an options file you loose. I have make.conf in svn and from there it is deployed to all systems to make sure they end up as specified, defining PORT_DBDIR=/dev/null is not handy. Again, how would you overwrite from a slave an option which was set once before with make config on the master port? (with working example please) Additional I suspect a command arg is more specific then a option which was set once. -- Regards, olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501088A2.3030208>