Negative port option test?
Bryan Drewery
bryan at shatow.net
Fri Sep 14 12:42:27 UTC 2012
.if empty(PORT_OPTIONS:MOPTION) && ${PORT_OPTIONS:MOPTION}
Is
If not set and is set
Sent from my iPhone
On Sep 14, 2012, at 7:25, Lev Serebryakov <lev at FreeBSD.org> wrote:
> Hello, Freebsd-ports.
>
> How to express "option is not set" with new options style? I need
> complex condition like "OPT1 is set and OPT2 doesn't". It could be
> expressed as two nested .if's (when .else branch of inner is only
> used), but it looks ugly.
>
> --
> // Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports
mailing list