From 6a097793142981bdd936c0e48401309441a0dda4 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Wed, 10 Apr 2002 10:30:26 +0000 Subject: I've mistaken the treatment of --with-mib-modules configure argument with multiple modules. With this fix, both of host and ucd-snmp/diskio modules are activated. Spotted by: Alexandr Listopad --- net/net-snmp/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'net/net-snmp/Makefile') diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index e4a0887682a4..691973efe5ac 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/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} -- cgit v1.2.3