From d28f8ae10812e1fb777cc063e30801971365aa1e Mon Sep 17 00:00:00 2001 From: Max Laier Date: Sun, 27 Apr 2008 18:32:02 +0000 Subject: 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 Reported-by: many[1], Frank Fenor[2] --- sysutils/pftop/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysutils') diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile index f109893c3af9..0addf7cd8ca0 100644 --- a/sysutils/pftop/Makefile +++ b/sysutils/pftop/Makefile @@ -40,6 +40,8 @@ MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=41 CFLAGS+= -DHAVE_ALTQ=1 .endif +MAKE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" __MAKE_CONF=/dev/null + PLIST_FILES= sbin/pftop post-patch: -- cgit v1.2.3