aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/snmp4nagios/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/snmp4nagios/Makefile')
-rw-r--r--net-mgmt/snmp4nagios/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net-mgmt/snmp4nagios/Makefile b/net-mgmt/snmp4nagios/Makefile
index f2abe0fd99c7..a4893f9bdd4b 100644
--- a/net-mgmt/snmp4nagios/Makefile
+++ b/net-mgmt/snmp4nagios/Makefile
@@ -33,10 +33,8 @@ CONFIGURE_ARGS= --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
--with-pngdir=${NAGIOSDIR}/snmp4nagios/png \
--prefix=${PREFIX}
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
- CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="${LDFLAGS}" \
- LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
+CFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.pre.mk>