summaryrefslogtreecommitdiff
path: root/net/net-snmp/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-03-08 02:52:14 +0000
committerminskim <minskim@pkgsrc.org>2006-03-08 02:52:14 +0000
commit7ef0a62ed58bd71bfdd09db9e2ca0cfde33d26e5 (patch)
tree18560a63ecfcb86a62f8e975bec5439536cc1d44 /net/net-snmp/Makefile
parentf5825cacf322975912d41be60326e47684fbcc72 (diff)
downloadpkgsrc-7ef0a62ed58bd71bfdd09db9e2ca0cfde33d26e5.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/net-snmp/Makefile')
-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
#