aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp53/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp53/Makefile')
-rw-r--r--net-mgmt/net-snmp53/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile
index e9b22d22dd51..88821e689cd5 100644
--- a/net-mgmt/net-snmp53/Makefile
+++ b/net-mgmt/net-snmp53/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ucd-snmp
PORTVERSION= 4.2.3
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ucd-snmp.ucdavis.edu/ \
@@ -62,6 +63,9 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.endif
+.if defined(WITH_SNMP_DISKIO)
+CONFIGURE_ARGS+=--with-mib-modules="ucd-snmp/diskio" --with-libs="-ldevstat"
+.endif
SHLIB_VERSION= 4
PLIST_SUB+= shlib=${SHLIB_VERSION}