summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2020-09-22 22:18:55 +0000
committerhe <he@pkgsrc.org>2020-09-22 22:18:55 +0000
commit6e575a7eae6af24bed5605ba62db71f75d3ceed1 (patch)
tree05f711f54f19a8a99b7372d9a8ee8a3c90e57256 /databases
parent919e3bbf3145c9e2c63ae70760822d43e03be383 (diff)
downloadpkgsrc-6e575a7eae6af24bed5605ba62db71f75d3ceed1.tar.gz
On powerpc, pull in devel/libatomic, so that this package builds.
Build fix only for this platform; detection for -latomic is already there. OK'ed by gdt@
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql57-server/hacks.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/mysql57-server/hacks.mk b/databases/mysql57-server/hacks.mk
new file mode 100644
index 00000000000..13c21dce4ad
--- /dev/null
+++ b/databases/mysql57-server/hacks.mk
@@ -0,0 +1,12 @@
+# $NetBSD: hacks.mk,v 1.1 2020/09/22 22:18:55 he Exp $
+
+.if !defined(MYSQL_HACKS_MK)
+MYSQL_HACKS_MK= defined
+
+# [Tue Sep 22 21:38:02 CEST 2020 : he]
+# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
+.if ${MACHINE_ARCH} == "powerpc"
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
+.endif # MYSQL_HACKS_MK