pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql57-client On powerpc, pull in devel/lib...
details: https://anonhg.NetBSD.org/pkgsrc/rev/638068a586d7
branches: trunk
changeset: 439631:638068a586d7
user: he <he%pkgsrc.org@localhost>
date: Tue Sep 22 19:39:26 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-client/hacks.mk | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 1656d48b62a0 -r 638068a586d7 databases/mysql57-client/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql57-client/hacks.mk Tue Sep 22 19:39:26 2020 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: hacks.mk,v 1.1 2020/09/22 19:39:26 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