aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2008-04-29 01:52:10 +0800
committermlaier <mlaier@FreeBSD.org>2008-04-29 01:52:10 +0800
commita1bb85aa8e88c7e7c04e095990275b98c82980bc (patch)
treee28f46739ea18c0e2fd4e35d4bfb855f686430b7 /sysutils
parenta81b4309aca681d8c0384dbfd1a55eeb8e67e172 (diff)
downloadfreebsd-ports-gnome-a1bb85aa8e88c7e7c04e095990275b98c82980bc.tar.gz
freebsd-ports-gnome-a1bb85aa8e88c7e7c04e095990275b98c82980bc.tar.zst
freebsd-ports-gnome-a1bb85aa8e88c7e7c04e095990275b98c82980bc.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]
Diffstat (limited to 'sysutils')
-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 \