pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/groonga Add use of devel/libatomic on powerpc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a3ff8f29654
branches:  trunk
changeset: 438999:6a3ff8f29654
user:      he <he%pkgsrc.org@localhost>
date:      Sun Sep 13 13:16:10 2020 +0000

description:
Add use of devel/libatomic on powerpc ports; fixes the build since
this platform doesn't have native 8-byte atomics.

diffstat:

 textproc/groonga/hacks.mk |  14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r da9341626417 -r 6a3ff8f29654 textproc/groonga/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groonga/hacks.mk Sun Sep 13 13:16:10 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.5 2020/09/13 13:16:10 he Exp $
+
+.if !defined(GROONGA_HACKS_MK)
+GROONGA_HACKS_MK=      defined
+
+# [Mon Sep  7 20:40:36 CEST 2020 : he]
+# On NetBSD/powerpc, we don't have native 8-byte atomics,
+# but this package insists on using them, so here we need libatomic.
+.if ${MACHINE_ARCH} == "powerpc"
+PKG_HACKS+=     powerpc-libatomic
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
+.endif # GROONGA_HACKS_MK



Home | Main Index | Thread Index | Old Index