pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql57-server On powerpc, pull in devel/lib...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82d043e0fa7c
branches:  trunk
changeset: 439634:82d043e0fa7c
user:      he <he%pkgsrc.org@localhost>
date:      Tue Sep 22 22:18:55 2020 +0000

description:
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:

 databases/mysql57-server/hacks.mk |  12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 014002990229 -r 82d043e0fa7c databases/mysql57-server/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql57-server/hacks.mk Tue Sep 22 22:18:55 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index