OPTIONSNG and batch compiling
mad at madpilot.net
Wed Oct 10 09:08:40 UTC 2012
On Wed, Oct 10, 2012 at 10:43:42AM +0200, Michael Reifenberger wrote:
> in order to maintain my ports more easily I use portmaster in batch mode.
> Therefore I have all relevant WITH_*, WITHOUT_* and other options in
> /etc/make.conf configured already.
> The problem now is that OPTIONSNG doesn't respect them in all cases.
> For example:
> mail/alpine does respect having WITH_CONS25=YES in /etc/make.conf
> mail/roundcube does NOT respect having WITH_PGSQL=YES in /etc/make.conf
> It seems that the construct:
> OPTIONS_SINGLE= DB
> OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE
> does only work interactively.
> Any workarounds/fixes possible?
You should add this to make.conf:
OPTIONS_SET+= CONS25 PGSQL
and this should be picked up by optionsng.
These can also be set per port.
Also keep the old WITH_* directives for the time being since not all
ports have been migrated.
There are also knobs on the command line:
make WITH="CONS25 PGSQL"
Guido Falsi <mad at madpilot.net>
More information about the freebsd-ports