aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index e232e4208b05..c96468c7e272 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -3,7 +3,7 @@
PORTNAME= snmp
PORTVERSION= 5.7.3
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net-mgmt ipv6
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= net-
@@ -155,10 +155,14 @@ NET_SNMP_WITH_MIB_MODULE_LIST+= sctp-mib
CONFIGURE_ARGS+= --with-libs="-lssp_nonshared"
.endif
-.if ${OSVERSION} >= 1000000
+.if ${OSVERSION} >= 1000000 && ${OSVERSION} < 1100062
CFLAGS+= -D_WANT_IFADDR
.endif
+.if ${OSVERSION} >= 1100062
+CONFIGURE_ARGS+= --with-out-mib-modules="mibII/ipv6"
+.endif
+
.if ${PORT_OPTIONS:MMFD_REWRITES}
CONFIGURE_ARGS+=--enable-mfd-rewrites
NET_SNMP_WITH_MIB_MODULE_LIST+= if-mib