summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp4/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-02-15 01:09:56 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-02-15 01:09:56 +0000
commit0c6f2b1256d6d877b5fedbd491649d4285f0d618 (patch)
treee9dad95dfe07c3d4ccf721a12af103088eedc59e /net-mgmt/net-snmp4/Makefile
parentPass the maintainership wand to Jason Harris <jharris@widomaker.com> (diff)
o Add WITH_SNMP_DISKIO knob to collect diskio statistics (will turn on by
default after some period). o Support 4.x and 5.x for host/hr_disk.c. o Add simple patch to wrap function decraration in HAVE_LPSTAT correctly.
Diffstat (limited to 'net-mgmt/net-snmp4/Makefile')
-rw-r--r--net-mgmt/net-snmp4/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile
index e9b22d22dd51..88821e689cd5 100644
--- a/net-mgmt/net-snmp4/Makefile
+++ b/net-mgmt/net-snmp4/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}