From owner-freebsd-ports@FreeBSD.ORG Fri Jul 27 11:18:54 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99CCB1065674; Fri, 27 Jul 2012 11:18:54 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 184F58FC15; Fri, 27 Jul 2012 11:18:53 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id q6RBIbVU047027; Fri, 27 Jul 2012 13:18:52 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id q6RBIboO047026; Fri, 27 Jul 2012 13:18:37 +0200 (CEST) (envelope-from olli) Date: Fri, 27 Jul 2012 13:18:37 +0200 (CEST) Message-Id: <201207271118.q6RBIboO047026@lurza.secnetix.de> From: Oliver Fromme To: dougb@freebsd.org (Doug Barton), FreeBSD Ports , Baptiste Daroussin , Scot Hetzel , Jase Thew In-Reply-To: <201207270925.q6R9PLCR042556@lurza.secnetix.de> X-Newsgroups: list.freebsd-ports User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (lurza.secnetix.de [127.0.0.1]); Fri, 27 Jul 2012 13:18:53 +0200 (CEST) Cc: Subject: Re: Question about new options framework (regression?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 11:18:54 -0000 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