Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2012 17:11:18 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Question about new options framework (regression?)
Message-ID:  <201207251511.q6PFBI6j063853@lurza.secnetix.de>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207251511.q6PFBI6j063853>