[HEADSUP] Please convert your ports to new options framework
Vitaly Magerya
vmagerya at gmail.com
Fri Jun 8 13:15:47 UTC 2012
Bryan Drewery wrote:
> Another common question is how to check if an option is not set. We all
> try !${PORT_OPTIONS:MFOO} to find it does not work.
$ cat Makefile
all:
.if ${LIST:MFOO}
@echo HAVE FOO
.endif
.if !${LIST:MFOO}
@echo NO FOO
.endif
$ make LIST=FOO
HAVE FOO
$ make LIST=BAR
NO FOO
Seems to work fine. What am I missing?
More information about the freebsd-ports
mailing list