Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2012 19:18:26 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: optionsng ignores /var/db/ports/<portname>/options
Message-ID:  <4FCBAA72.7020103@FreeBSD.org>
In-Reply-To: <20120603160518.GA6631@slackbox.erewhon.net>
References:  <20120603160518.GA6631@slackbox.erewhon.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@... might be a good idea.

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



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/LqnkACgkQ8Mjk52CukIzWTQCdE/jq7uhVkz7+KPfJ/TV0izP1
YagAnRjPnjL8ek31oKrkiWdIMwtpPChx
=H7ib
-----END PGP SIGNATURE-----

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