OptionsNG and defaults

Baptiste Daroussin bapt at FreeBSD.org
Thu Jun 20 14:59:02 UTC 2013

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 at passap.ru> napisał(a):
> >Hi All,
> >
> >I try to convert a port to optionsNG. The defaults for the port now are
> >DOCS=on, EXAMPLES=off. 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)?
> .include <bsd.port.options.mk>

No that uglily remove it unconditionally, and in that case the following syntax
is better:
but still this won't do what you do expect.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130620/1d3829fe/attachment.sig>

More information about the freebsd-ports mailing list