summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-09-22 10:35:57 +0000
committeradam <adam@pkgsrc.org>2021-09-22 10:35:57 +0000
commit5cd7aa5a880c364f9363e3b93532b57da59ef7f8 (patch)
treec437e46cf1bf5289f8d87f156b34444f63c499e6 /net
parentc54155e3a777781018d0ca9725ef523d2faf9239 (diff)
downloadpkgsrc-5cd7aa5a880c364f9363e3b93532b57da59ef7f8.tar.gz
net-snmp: allow build on newer Darwin; fix #55927
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 2bd57ac9b41..ab975afcaaa 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.136 2021/05/24 19:53:21 wiz Exp $
+# $NetBSD: Makefile,v 1.137 2021/09/22 10:35:57 adam Exp $
PKGREVISION= 3
.include "Makefile.common"
@@ -119,14 +119,11 @@ INSTALLATION_DIRS+= share/examples/net-snmp
post-extract:
.if ${OPSYS} == "DragonFly"
cp ${FILESDIR}/cpu_dragonfly.c ${WRKSRC}/agent/mibgroup/hardware/cpu/cpu_nlist.c
-# XXX make it build on OS X 10.10; remove on the next update
.elif ${OPSYS} == "Darwin"
- ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin13.h ${WRKSRC}/include/net-snmp/system/darwin14.h
- ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin13.h ${WRKSRC}/include/net-snmp/system/darwin15.h
- ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin13.h ${WRKSRC}/include/net-snmp/system/darwin16.h
- ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin13.h ${WRKSRC}/include/net-snmp/system/darwin17.h
- ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin13.h ${WRKSRC}/include/net-snmp/system/darwin18.h
- ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin13.h ${WRKSRC}/include/net-snmp/system/darwin19.h
+ ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin17.h ${WRKSRC}/include/net-snmp/system/darwin18.h
+ ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin17.h ${WRKSRC}/include/net-snmp/system/darwin19.h
+ ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin17.h ${WRKSRC}/include/net-snmp/system/darwin20.h
+ ${LN} -s ${WRKSRC}/include/net-snmp/system/darwin17.h ${WRKSRC}/include/net-snmp/system/darwin21.h
.endif
post-wrapper: