How to set CFLAGS for the build step?

Max Laier max at love2party.net
Fri Apr 4 11:23:48 UTC 2008


On Friday 04 April 2008 06:27:37 Dirk Meyer wrote:
> Max Laier schrieb:,
>
> > This currently works for empty and test{1,2}, but fails for test3.
> >
> > This test3 uses a make.conf (passed via MAKE_ARGS= __MAKE_CONF=...)
> > that has a
> >
> > 	CFLAGS= -test
>
> not MAKE_ARGS, MAKE_ENV
>
> - MAKE_ARGS= __MAKE_CONF=...
> + MAKE_ENV+= __MAKE_CONF=/dev/null

Okay, this doesn't help one bit - sorry.  Or are you suggesting that I 
simply disregard user-set CFLAGS in make.conf by using /dev/null as 
make.conf?  This seems to contradict 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-cflags.html

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-ports mailing list