Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 16:58:57 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Pawel Pekala <pawel@FreeBSD.org>
Cc:        Ports FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   Re: OptionsNG and defaults
Message-ID:  <20130620145857.GI23721@ithaqua.etoilebsd.net>
In-Reply-To: <20130620155703.660e5828@FreeBSD.org>
References:  <51C2F3BF.5020502@passap.ru> <20130620155703.660e5828@FreeBSD.org>

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

--gJNQRAHI5jiYqw2y
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 20, 2013 at 03:57:03PM +0200, Pawel Pekala wrote:
> Dnia 2013-06-20, o godz. 16:21:19
> Boris Samorodov <bsam@passap.ru> napisa=C5=82(a):
>=20
> >Hi All,
> >
> >I try to convert a port to optionsNG. The defaults for the port now are
> >DOCS=3Don, EXAMPLES=3Doff. I'd like to not change them. The PH just says
> >that those options are on by default.
> >
> >How should I disable EXAMPLES option for the port (at it's Makefile)?
>=20
> .include <bsd.port.options.mk>
>=20
> PORT_OPTIONS:=3D  ${PORT_OPTIONS:S|EXAMPLES||}
>=20

No that uglily remove it unconditionally, and in that case the following sy=
ntax
is better:
PORT_OPTIONS:=3D ${PORT_OPTIONS:NEXAMPLES}
but still this won't do what you do expect.

regards,
Bapt

--gJNQRAHI5jiYqw2y
Content-Type: application/pgp-signature

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

iEYEARECAAYFAlHDGLEACgkQ8kTtMUmk6EyU4QCcDCW4yxdx2mStpe3xJFE8jrrL
npEAn1QlqNwix93WUb0sNoAdWZSVR/kR
=NN5i
-----END PGP SIGNATURE-----

--gJNQRAHI5jiYqw2y--



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