From e3b2c8ec027ce2c4ed432291582c0d194b9755ba Mon Sep 17 00:00:00 2001 From: adrianp Date: Fri, 23 Nov 2007 21:29:17 +0000 Subject: 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. --- net/net-snmp/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3