How to set CFLAGS for the build step?

Max Laier max at
Wed Apr 2 09:49:36 PDT 2008


I have some trouble with sysutils/pftop.  It seems that if a user sets 
CFLAGS in make.conf the additional "CFLAGS+= -DHAVE_ALTQ=1" I have in the 
port's Makefile doesn't get through to the build step's environment.  
This might be due to the fact that this port uses the bsd.*.mk scripts, 
but I'm puzzled as to how to do this right.  Any insight?

/"\  Best regards,                      | mlaier at
\ /  Max Laier                          | ICQ #67774661
 X  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

More information about the freebsd-ports mailing list