aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pfstat
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2008-04-28 17:52:10 +0000
committerMax Laier <mlaier@FreeBSD.org>2008-04-28 17:52:10 +0000
commit3a8c08924fe47bede9cb2eff9abf1e6d8d400d22 (patch)
tree15a202c210bfba6aa23b09d43b5d24a47c748333 /sysutils/pfstat
parent3bbf4decf244bd46c08ae2befb823a9a65fbd9da (diff)
downloadports-3a8c08924fe47bede9cb2eff9abf1e6d8d400d22.tar.gz
ports-3a8c08924fe47bede9cb2eff9abf1e6d8d400d22.zip
Manually export CC and CFLAGS to MAKE_ENV and have __MAKE_CONF point to
/dev/null. The latter is a problem because the port's Makefile uses the bsd.*.mk infrastructure. This works around several problems people were having when setting CFLAGS[1] in make.conf or CC[2] on the command line. PR: ports/122943 (really this time) Reported-by: many[1], Frank Fenor[2]
Notes
Notes: svn path=/head/; revision=212181
Diffstat (limited to 'sysutils/pfstat')
-rw-r--r--sysutils/pfstat/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysutils/pfstat/Makefile b/sysutils/pfstat/Makefile
index ae22d525bd9d..95d3aecb6529 100644
--- a/sysutils/pfstat/Makefile
+++ b/sysutils/pfstat/Makefile
@@ -18,6 +18,7 @@ COMMENT= Utility to render graphical statistics for pf
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
MAKE_ARGS= "LD_GD=gd"
+MAKE_ENV+= CFLAGS="${CFLAGS}" CC="${CC}" __MAKE_CONF=/dev/null
USE_ICONV= yes
MAN8= pfstat.8 \