aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios2/Makefile')
-rw-r--r--net-mgmt/nagios2/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile
index 37fbcd010d00..9ebda1ab6431 100644
--- a/net-mgmt/nagios2/Makefile
+++ b/net-mgmt/nagios2/Makefile
@@ -51,7 +51,7 @@ NAGIOSHOMEURL?= main.html
.include <bsd.port.pre.mk>
-CPPFLAGS= -I${LOCALBASE}/include -fPIC
+CPPFLAGS+= -I${LOCALBASE}/include -fPIC
CFLAGS+= ${CPPFLAGS}
CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
@@ -67,10 +67,7 @@ CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
--localstatedir=${NAGIOSDIR} \
--prefix=${PREFIX}
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- LIBS="-L${LOCALBASE}/lib" \
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
PERL=${PERL}
MAKE_JOBS_UNSAFE= yes