New Port Options

Boris Samorodov bsam at
Sat Oct 6 09:20:12 UTC 2012

06.10.2012 12:13, Baptiste Daroussin пишет:

> My first proposition for syntax was:
> .if !empty(PORT_OPTIONS:MFOO)
> .endif
> and
> .if empty(PORT_OPTIONS:MFOO)
> .endif

I'd prefer this one...

> Lots of people stated they prefered the concise version:
> .endif
> the reverse of this one can be:
> .endif
> instead of empty() if you prefer some maintainers uses it.

...since this one does not work with predefined options (DOCS,
NLS, EXAMPLES) which are set by default but a user needs to
unset them.

WBR, Boris Samorodov (bsam)
FreeBSD Committer, The Power To Serve

More information about the freebsd-ports mailing list