pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2020Q2]: pkgsrc/textproc/groonga Pullup ticket #6323 - request...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1f3e228a1b4
branches:  pkgsrc-2020Q2
changeset: 439357:e1f3e228a1b4
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Sep 18 18:22:54 2020 +0000

description:
Pullup ticket #6323 - requested by he
textproc/groonga: PowerPC build fix

Revisions pulled up:
- textproc/groonga/hacks.mk                                     1.5

---
   Module Name: pkgsrc
   Committed By:        he
   Date:                Sun Sep 13 13:16:10 UTC 2020

   Added Files:
        pkgsrc/textproc/groonga: hacks.mk

   Log Message:
   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 5a8974c7d8a3 -r e1f3e228a1b4 textproc/groonga/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/groonga/hacks.mk Fri Sep 18 18:22:54 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.5.2.2 2020/09/18 18:22:54 bsiegert 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