.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 <[email protected]> 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 <[email protected]>
> 
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to