summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/dnsdist/hacks.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/dnsdist/hacks.mk b/net/dnsdist/hacks.mk
new file mode 100644
index 00000000000..0c950c93919
--- /dev/null
+++ b/net/dnsdist/hacks.mk
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2022/08/05 14:08:50 he Exp $
+
+.if !defined(NET_DNSDIST_HACKS_MK)
+NET_DNSDIST_HACKS_MK= defined
+
+# [Fri Aug 5 14:57:31 CEST 2022 : he]
+
+# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
+.if ${MACHINE_ARCH} == "powerpc" && ${OPSYS} == "NetBSD"
+PKG_HACKS+= powerpc-atomics
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
+.endif # NET_DNSDIST_HACKS_MK