Question about new options framework (regression?)

Oliver Fromme olli at lurza.secnetix.de
Fri Jul 27 11:18:54 UTC 2012


Oliver Fromme wrote:
 > Doug Barton wrote:
 > > Traditionally the precedence has been:
 > > 
 > > make.conf < OPTIONS < command line
 > 
 > Are you sure?  But how did the old framework find out if a
 > WITH_* / WITHOUT_* variable came from make.conf or from the
 > command line?

Uhm, please ignore what I wrote.  I forgot about "?=" syntax
in make.conf ...  In that case it works fine, of course.

So, it really should be sufficient to move the compatibility
section (the one that looks at WITH_* / WITHOUT_*) to the
end of bsd.options.mk, after the section that loads the
options file from $PORTS_DBDIR.  Then the desired behaviour
should be back.

Best regards
   Oliver


-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Python is an experiment in how much freedom programmers need.
Too much freedom and nobody can read another's code; too little
and expressiveness is endangered."
        -- Guido van Rossum


More information about the freebsd-ports mailing list