aboutsummaryrefslogtreecommitdiff
path: root/net/net-snmp4
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-04-10 10:30:26 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-04-10 10:30:26 +0000
commit6a097793142981bdd936c0e48401309441a0dda4 (patch)
tree967853db4efee73f5cc6e6a47ea6ce026fd0532a /net/net-snmp4
parent1aaa37ca28dc59ddc0a1f90ea7d086de878e97f1 (diff)
downloadports-6a097793142981bdd936c0e48401309441a0dda4.tar.gz
ports-6a097793142981bdd936c0e48401309441a0dda4.zip
Notes
Diffstat (limited to 'net/net-snmp4')
-rw-r--r--net/net-snmp4/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile
index e4a0887682a4..691973efe5ac 100644
--- a/net/net-snmp4/Makefile
+++ b/net/net-snmp4/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ucd-snmp
PORTVERSION= 4.2.4
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ucd-snmp.ucdavis.edu/ \
@@ -21,8 +22,8 @@ USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
-CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host" --with-gnu-ld \
- --with-libwrap
+CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host ucd-snmp/diskio" \
+ --with-gnu-ld --with-libwrap --with-libs="-ldevstat"
.if defined(BATCH)
CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where
.else
@@ -63,9 +64,6 @@ STARTUP_FILE= ${PREFIX}/etc/rc.d/snmpd.sh
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.endif
-.if !defined(WITHOUT_SNMP_DISKIO)
-CONFIGURE_ARGS+=--with-mib-modules="ucd-snmp/diskio" --with-libs="-ldevstat"
-.endif
SHLIB_VERSION= 4
PLIST_SUB+= shlib=${SHLIB_VERSION}