pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/dnsdist
Module Name: pkgsrc
Committed By: he
Date: Fri Aug 5 14:08:50 UTC 2022
Added Files:
pkgsrc/net/dnsdist: hacks.mk
Log Message:
net/dnsdist: make this build on powerpc where -latomic is needed.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/dnsdist/hacks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/dnsdist/hacks.mk
diff -u /dev/null pkgsrc/net/dnsdist/hacks.mk:1.1
--- /dev/null Fri Aug 5 14:08:50 2022
+++ pkgsrc/net/dnsdist/hacks.mk Fri Aug 5 14:08:50 2022
@@ -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