svn commit: r233052 - head/share/mk

Doug Barton dougb at FreeBSD.org
Mon Mar 19 21:39:53 UTC 2012


On 3/19/2012 12:37 PM, Dimitry Andric wrote:
> It would be much nicer to be able to write:
> 
> .if defined(FOO)
>   .if defined(BAR)
>     CFLAGS+=	-DFOO_BAR
>   .endif
> .endif

Take a look at /usr/ports/Mk/bsd.port.mk for how this can be done.

-- 

    This .signature sanitized for your protection


More information about the svn-src-head mailing list