summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp/Makefile')
-rw-r--r--net-mgmt/net-snmp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index a6810058b6bc..62f62e75af7f 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ucd-snmp
PORTVERSION= 4.1.2
-CATEGORIES= net
+CATEGORIES= net ipv6
MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
ftp://ftp.win.or.jp/pub/network/snmp/ucd-snmp/
@@ -47,6 +47,10 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh.sample
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
SHLIB_VERSION= 4
PLIST_SUB+= shlib=${SHLIB_VERSION}