summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorminskim <minskim>2006-03-08 02:52:14 +0000
committerminskim <minskim>2006-03-08 02:52:14 +0000
commit7ff1e50870364083de4ea5299bee8b11428bf658 (patch)
tree18560a63ecfcb86a62f8e975bec5439536cc1d44 /net
parent5e8b2eb2894a88513976bac891802d3408f85856 (diff)
downloadpkgsrc-7ff1e50870364083de4ea5299bee8b11428bf658.tar.gz
Allow to build diskio and mibII modules on Darwin 8.x. Without them,
the package doesn't build due to some undefined functions.
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 10bdda44499..17463ca7357 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -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-persistent-directory=${NET_SNMP_PERSISTENTDIR:Q}
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
#