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

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

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 03, 2012 at 07:18:26PM +0100, Matthew Seaman wrote:
> On 03/06/2012 17:05, Roland Smith wrote:
> > I've used 'make config' to set the PYCAIO option to on;
> >=20
> > 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=3Dpy27-py-stl-3.1
> > _FILE_COMPLETE_OPTIONS_LIST=3DPYCAIRO
> > OPTIONS_FILE_SET+=3DPYCAIRO
> >=20
> > But the port seems to ignore it:
> >=20
> > slackbox# make showconfig
> > =3D=3D=3D> The following configuration options are available for py27-p=
y-stl-3.1:
> >      PYCAIRO=3Doff: Use (py)Cairo to enable stl2pdf
> > =3D=3D=3D> Use 'make config' to modify these settings
> >=20
> > Every time I do 'make config', the PYCAIRO option will be unset, even i=
f it
> > shows as set in /var/db/ports/<portname>/options!
>=20
> What does
>=20
>  % make -V PORT_OPTIONS

slackbox# pwd
/usr/ports/graphics/py-stl
slackbox# make -V PORT_OPTIONS
DOCS EXAMPLES NLS
=20
> 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.)
>=20
> 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 character=
s.

I updated my ports tree this afternoon. The really weird thing is that I
tested 'make config' in several other ports where it worked fine...

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

I guess I will do that.

Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/LtosACgkQEnfvsMMhpyXH1QCeNJZ+tuZ9agZw9zbzje9afnK6
ilQAnAscthmz3FJ1C+bc2kEvD+GaZaWC
=5K3Q
-----END PGP SIGNATURE-----

--4Ckj6UjgE2iN1+kY--



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