summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2003-10-30 08:36:03 +0000
committercube <cube@pkgsrc.org>2003-10-30 08:36:03 +0000
commite648ca4a5a37bc264a6a8332381e36d41ead61b9 (patch)
tree5e68fccfc4b9d029162fe2aa3176a098c77589c3 /net/net-snmp
parent18896b47b85ffaeffc26e58709cd61d1ead22f60 (diff)
downloadpkgsrc-e648ca4a5a37bc264a6a8332381e36d41ead61b9.tar.gz
Apply patch from PR pkg/22934 by Greg A. Woods.
o Remove NET_SNMP_LOGFILE since it's not used anymore o Include /usr/local/share/snmp/mibs into the default MIBS file search path o Use --with-logfile=none instead of --without-logfile because that is what the configure script wants for that variable. While those changes affect an exported header file, they don't affect in any way the compilation of dependencies, so no revision bump is needed.
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 07c193bf520..84d2f183b2a 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2003/09/14 11:58:43 tron Exp $
+# $NetBSD: Makefile,v 1.12 2003/10/30 08:36:03 cube Exp $
DISTNAME= net-snmp-5.0.9
CATEGORIES= net
@@ -17,9 +17,8 @@ BUILD_DEFS+= USE_INET6
NET_SNMP_SYS_CONTACT?= default_user@contact.domain
NET_SNMP_SYS_LOCATION?= defaultlocation
-NET_SNMP_LOGFILE?= /var/log/snmpd.log
NET_SNMP_PERSISTENTDIR?= /var/net-snmp
-NET_SNMP_MIBDIRS?= \$$HOME/.snmp/mibs:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm2.1.10/mibs:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm3.0.0/mibs
+NET_SNMP_MIBDIRS?= \$$HOME/.snmp/mibs:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm2.1.10/mibs:/usr/local/share/snmp/mibs:${PREFIX}/lib/tcl/tnm3.0.0/mibs
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
@@ -57,7 +56,7 @@ CONFIGURE_ARGS+= --with-sys-location="${NET_SNMP_SYS_LOCATION}"
# daemon must be stopped to cycle it properly. Remember rc.d/snmpd
# will use '-s' to enable standard syslog logging anyway.
#
-CONFIGURE_ARGS+= --without-logfile
+CONFIGURE_ARGS+= --with-logfile=none
CONFIGURE_ARGS+= --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}"
.if !empty(NET_SNMP_MIBDIRS)
CONFIGURE_ARGS+= --with-mibdirs="${NET_SNMP_MIBDIRS}"