summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-11-23 21:29:17 +0000
committeradrianp <adrianp@pkgsrc.org>2007-11-23 21:29:17 +0000
commite3b2c8ec027ce2c4ed432291582c0d194b9755ba (patch)
tree75be3cfaeb23f3908a093590e7759aa26a13ac29 /net/net-snmp
parentb3ebbefb3ac6306d3546529357b86db38308a388 (diff)
downloadpkgsrc-e3b2c8ec027ce2c4ed432291582c0d194b9755ba.tar.gz
Fix builds on Darwin 9.*
Goes part way to address PR# 37405 See http://net-snmp.sourceforge.net/docs/README.osX.html for hints on this.
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 4465f2fe565..ecc936f4266 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2007/11/12 21:06:17 adrianp Exp $
+# $NetBSD: Makefile,v 1.66 2007/11/23 21:29:17 adrianp Exp $
DISTNAME= net-snmp-5.4.1
CATEGORIES= net
@@ -76,6 +76,13 @@ CONFIGURE_ARGS+= --with-mib-modules="smux host"
.if !empty(MACHINE_PLATFORM:MDarwin-[567].*)
CONFIGURE_ARGS+= --with-out-mib-modules="ucd-snmp/diskio mibII"
.endif
+.if !empty(MACHINE_PLATFORM:MDarwin-9.*)
+CONFIGURE_ARGS+= --with-mib-modules="host ucd-snmp/diskio"
+CONFIGURE_ARGS+= --with-out-mib-modules="mibII/icmp host/hr_swrun"
+CONFIGURE_ARGS+= --enable-as-needed
+CONFIGURE_ARGS+= --without-kmem-usage
+CONFIGURE_ARGS+= --without-rpm
+.endif
#
# Using "dummy" values is technically not compliant with SNMP specs, but
# otherwise, some tools, e.g. net/tcl-scotty, net/tkined, may ignore results