pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/net-snmp Fix builds on Darwin 9.*



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2284b4339eba
branches:  trunk
changeset: 535646:2284b4339eba
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Fri Nov 23 21:29:17 2007 +0000

description:
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:

 net/net-snmp/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r d25a4a7488d9 -r 2284b4339eba net/net-snmp/Makefile
--- a/net/net-snmp/Makefile     Fri Nov 23 20:42:32 2007 +0000
+++ b/net/net-snmp/Makefile     Fri Nov 23 21:29:17 2007 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index