ports/160448: ports-mgmt/portlint shall warn about CPPFLAGS being passed to MAKE_ENV
gerald at pfeifer.com
Sun Sep 4 04:00:21 UTC 2011
>Synopsis: ports-mgmt/portlint shall warn about CPPFLAGS being passed to MAKE_ENV
>Arrival-Date: Sun Sep 04 04:00:19 UTC 2011
>Originator: Gerald Pfeifer
This is the part of ports/155550 that has not been addressed
Recently a change of mine to pass CPPFLAGS to MAKE_ENV has been
applied to Mk/bsd.port.mk.
In consequence, individual ports no long should pass this
explicitly and portlint should warn about
In fact any setting of CPPFLAGS, also along the lines of
MAKE_ENV= CPPFLAGS="-Dfoo -D bar"
should be warned about since, really, CPPFLAGS should be
set in the port Makefile and the rest should "just happen".
Run portlint -C against revision 1.32 of Makefile in
More information about the freebsd-ports-bugs