pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/dnsdist net/dnsdist: make this build on powerpc wh...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0331946f3e03
branches: trunk
changeset: 382803:0331946f3e03
user: he <he%pkgsrc.org@localhost>
date: Fri Aug 05 14:08:50 2022 +0000
description:
net/dnsdist: make this build on powerpc where -latomic is needed.
diffstat:
net/dnsdist/hacks.mk | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r 1aff55e040b8 -r 0331946f3e03 net/dnsdist/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnsdist/hacks.mk Fri Aug 05 14:08:50 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index