Date: Sat, 6 Oct 2012 11:39:33 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Boris Samorodov <bsam@passap.ru> Cc: FreeBSD-PORTS <freebsd-ports@FreeBSD.org> Subject: Re: New Port Options Message-ID: <20121006093933.GB71753@ithaqua.etoilebsd.net> In-Reply-To: <506FF7C9.4020807@passap.ru> References: <6B7F31C1-0A5C-4B65-AC5B-BCCE21817692@lafn.org> <20121006081341.GC30675@ithaqua.etoilebsd.net> <506FF7C9.4020807@passap.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--GID0FwUMdk1T2AWN
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 06, 2012 at 01:20:09PM +0400, Boris Samorodov wrote:
> 06.10.2012 12:13, Baptiste Daroussin =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>=20
> > My first proposition for syntax was:
> > .if !empty(PORT_OPTIONS:MFOO)
> > .endif
> >=20
> > and
> > .if empty(PORT_OPTIONS:MFOO)
> > .endif
>=20
> I'd prefer this one...
>=20
> > Lots of people stated they prefered the concise version:
> > .if ${PORT_OPTIONS:MFOO}
> > .endif
> >=20
> > the reverse of this one can be:
> >=20
> > .if !${PORT_OPTIONS:MFOO}
> > .endif
> >=20
> > instead of empty() if you prefer some maintainers uses it.
>=20
> ...since this one does not work with predefined options (DOCS,
> NLS, EXAMPLES) which are set by default but a user needs to
> unset them.
Yes it does, or maybe I don't understand correctly what you are expecting :)
regards,
Bapt
--GID0FwUMdk1T2AWN
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlBv/FUACgkQ8kTtMUmk6EzROACeKi8CqCm5fYXeXwFTgvyoKY0V
YPYAn2JD5sfGVaTFUONglE+bpQ/5Dvom
=4PJ/
-----END PGP SIGNATURE-----
--GID0FwUMdk1T2AWN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121006093933.GB71753>
