Date: Fri, 14 Sep 2012 07:42:21 -0500 From: Bryan Drewery <bryan@shatow.net> To: "lev@FreeBSD.org" <lev@FreeBSD.org> Cc: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: Negative port option test? Message-ID: <264A72D5-997D-4DF1-84B8-545A72C4710D@shatow.net> In-Reply-To: <491558969.20120914162505@serebryakov.spb.ru> References: <491558969.20120914162505@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
.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@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@FreeBSD.org> > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?264A72D5-997D-4DF1-84B8-545A72C4710D>