From owner-freebsd-ports@FreeBSD.ORG Fri Jul 27 09:25:38 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8C141065679; Fri, 27 Jul 2012 09:25:38 +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 133658FC1B; Fri, 27 Jul 2012 09:25:37 +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 q6R9PLNO042558; Fri, 27 Jul 2012 11:25:36 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id q6R9PLCR042556; Fri, 27 Jul 2012 11:25:21 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <201207270925.q6R9PLCR042556@lurza.secnetix.de> To: dougb@FreeBSD.org (Doug Barton) Date: Fri, 27 Jul 2012 11:25:21 +0200 (CEST) In-Reply-To: <501172DD.3080000@FreeBSD.org> X-Mailer: ELM [version 2.5 PL8] 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 11:25:37 +0200 (CEST) Cc: FreeBSD Ports , Baptiste Daroussin , Scot Hetzel , Jase Thew 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 09:25:38 -0000 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? For example, say the make environment contains WITH_FOO=YES, but the OPTIONS file contains WITHOUT_FOO=YES. If the above precedence is to be followed, then the framework needed to find out whether the WITH_FOO setting came from make.conf or from the command line. I don't think there's an easy way to do that. 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 tricks" is a tough one, cuz the language is so clean. E.g., C makes an art of confusing pointers with arrays and strings, which leads to lotsa neat pointer tricks; APL mistakes everything for an array, leading to neat one-liners; and Perl confuses everything period, making each line a joyous adventure . -- Tim Peters