From owner-freebsd-ports@FreeBSD.ORG Wed Jul 25 15:11:36 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84540106566B for ; Wed, 25 Jul 2012 15:11:36 +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 0AB578FC12 for ; Wed, 25 Jul 2012 15:11:35 +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 q6PFBIER063854; Wed, 25 Jul 2012 17:11:34 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id q6PFBI6j063853; Wed, 25 Jul 2012 17:11:18 +0200 (CEST) (envelope-from olli) Date: Wed, 25 Jul 2012 17:11:18 +0200 (CEST) Message-Id: <201207251511.q6PFBI6j063853@lurza.secnetix.de> From: Oliver Fromme To: freebsd-ports@FreeBSD.ORG 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]); Wed, 25 Jul 2012 17:11:34 +0200 (CEST) Cc: Subject: 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: Wed, 25 Jul 2012 15:11:36 -0000 Hi, What is the proper way to temporarily change an option on the command line or within a script? For example, I have a script that builds both dynamic and static zsh binaries, without user intervention. With the old options system, the script set "WITH_ZSH_STATIC=true" when building the port. With the new options framework, that doesn't work aymore. Is there a variable that can be set to override what's read from the options file? If there is none, this feels like a regression. 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 One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them.