summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2022-08-05 14:34:12 +0000
committerhe <he@pkgsrc.org>2022-08-05 14:34:12 +0000
commitd972fbd7a3bf1e8bc404d03ef988095634d2848d (patch)
treed730cd2f065a3e0ad2514249ccba51ea2bf4516f /net
parenta88a70bfae59a858454b9bf66a40219d4ca40db7 (diff)
downloadpkgsrc-d972fbd7a3bf1e8bc404d03ef988095634d2848d.tar.gz
net/libfilezilla: add -latomic on powerpc, so that this builds.
Diffstat (limited to 'net')
-rw-r--r--net/libfilezilla/hacks.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/libfilezilla/hacks.mk b/net/libfilezilla/hacks.mk
new file mode 100644
index 00000000000..0f454e81a54
--- /dev/null
+++ b/net/libfilezilla/hacks.mk
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2022/08/05 14:34:12 he Exp $
+
+.if !defined(NET_LIBFILEZILLA_HACKS_MK)
+NET_LIBFILEZILLA_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_LIBFILEZILLA_HACKS_MK