Date: Sat, 2 Sep 2017 21:57:11 -0700 From: Yuri <yuri@rawbw.com> To: "ports@freebsd.org" <ports@freebsd.org> Subject: What is the right way to make OPTIONS_DEFAULT depend on Message-ID: <26464750-b401-1b14-9b3f-cd9b7b83bd4f@rawbw.com>
next in thread | raw e-mail | index | archive | help
This doesn't work: > .include <bsd.port.options.mk> > > .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 > OPTIONS_DEFAULT+= MYOPT > .endif MYOPT isn't picked up I tried with a regular expressions, witout .include: > SYSVERSION= ${OPSYS}${OSVERSION} > OPTIONS_DEFAULT=HELP ${SYSVERSION:C/^FreeBSD1[1-9][0-9]{5}$/MYOPT/:MMYOPT} MYOPT isn't picked up again. Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26464750-b401-1b14-9b3f-cd9b7b83bd4f>