pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/net-snmp Allow to build diskio and mibII modules o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5941426b253f
branches:  trunk
changeset: 509288:5941426b253f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Mar 08 02:52:14 2006 +0000

description:
Allow to build diskio and mibII modules on Darwin 8.x.  Without them,
the package doesn't build due to some undefined functions.

diffstat:

 net/net-snmp/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0484746faf3b -r 5941426b253f net/net-snmp/Makefile
--- a/net/net-snmp/Makefile     Wed Mar 08 02:47:13 2006 +0000
+++ b/net/net-snmp/Makefile     Wed Mar 08 02:52:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2006/02/19 16:12:02 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2006/03/08 02:52:14 minskim Exp $
 
 DISTNAME=      net-snmp-5.3.0.1
 CATEGORIES=    net
@@ -58,7 +58,7 @@
 CONFIGURE_ARGS+=       --with-mibdirs=${NET_SNMP_MIBDIRS:Q}
 .endif
 CONFIGURE_ARGS+=       --with-mib-modules="smux host"
-.if (${OPSYS} == "Darwin")
+.if !empty(MACHINE_PLATFORM:MDarwin-[567].*)
 CONFIGURE_ARGS+=       --with-out-mib-modules="ucd-snmp/diskio mibII"
 .endif
 #



Home | Main Index | Thread Index | Old Index