summaryrefslogtreecommitdiff
path: root/net/net-snmp/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2007-02-05 19:18:37 +0000
committerjoerg <joerg>2007-02-05 19:18:37 +0000
commitd9177ec13d40449d68be001831e3ae5ed669e203 (patch)
treea663f99cfeb318436dca684fdf2e77a43d72c3d9 /net/net-snmp/Makefile
parent5c46791ad8b03e5434ed2e151af6fdd37d093571 (diff)
downloadpkgsrc-d9177ec13d40449d68be001831e3ae5ed669e203.tar.gz
Fix DragonFly build changes. I have no clue to add an optional file
into the build system, so override cpu_nlist on DragonFly.
Diffstat (limited to 'net/net-snmp/Makefile')
-rw-r--r--net/net-snmp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 29a87eff74e..1c623d4115b 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2007/02/05 12:06:16 adam Exp $
+# $NetBSD: Makefile,v 1.57 2007/02/05 19:18:37 joerg Exp $
DISTNAME= net-snmp-5.4
CATEGORIES= net
@@ -111,6 +111,9 @@ INSTALLATION_DIRS+= share/examples/net-snmp
post-extract:
cp ${FILESDIR}/dragonfly.h ${WRKSRC}/include/net-snmp/system
+.if ${OPSYS} == "DragonFly"
+ cp ${FILESDIR}/cpu_dragonfly.c ${WRKSRC}/agent/mibgroup/hardware/cpu/cpu_nlist.c
+.endif
post-wrapper:
.if !empty(MACHINE_PLATFORM:MNetBSD-1.5.[123]*-i386)