optionsng ignores /var/db/ports/<portname>/options

Matthew Seaman matthew at FreeBSD.org
Sun Jun 3 18:18:39 UTC 2012


On 03/06/2012 17:05, Roland Smith wrote:
> I've used 'make config' to set the PYCAIO option to on;
> 
> slackbox# cat /var/db/ports/py27-py-stl/options
> # This file is auto-generated by 'make config'.
> # Options for py27-py-stl-3.1
> _OPTIONS_READ=py27-py-stl-3.1
> _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO
> OPTIONS_FILE_SET+=PYCAIRO
> 
> But the port seems to ignore it:
> 
> slackbox# make showconfig
> ===> The following configuration options are available for py27-py-stl-3.1:
>      PYCAIRO=off: Use (py)Cairo to enable stl2pdf
> ===> Use 'make config' to modify these settings
> 
> Every time I do 'make config', the PYCAIRO option will be unset, even if it
> shows as set in /var/db/ports/<portname>/options!

What does

 % make -V PORT_OPTIONS

show?  If PYCAIRO is set in PORT_OPTIONS, then the port is accepting
your setting of the option, and you've found a bug with the showconfig
target.  (If so, please open a PR.)

If not, then something odd is happening, as your port looks perfectly OK
to me.   Are you using a ports tree updated within about the last 48
hours or so?  I know there were some bug fixes went in to all FOO_DESC
lines to contain (brackets) and other syntactically significant characters.

	Cheers,

	Matthew

PS. Asking this on freebsd-ports at ... might be a good idea.

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120603/bcebbb2a/signature.pgp


More information about the freebsd-questions mailing list