diff options
author | he <he@pkgsrc.org> | 2020-09-13 13:16:10 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2020-09-13 13:16:10 +0000 |
commit | a3bd2cb1d4dc6ba81a087978c9c990b0db053d03 (patch) | |
tree | 5c2bbb0dea2c5b2a1d38407f7a4e3b15685f9f24 /textproc/groonga | |
parent | a3c9a2608e6a3b740a59998b7b8507ef6b75bb6b (diff) | |
download | pkgsrc-a3bd2cb1d4dc6ba81a087978c9c990b0db053d03.tar.gz |
Add use of devel/libatomic on powerpc ports; fixes the build since
this platform doesn't have native 8-byte atomics.
Diffstat (limited to 'textproc/groonga')
-rw-r--r-- | textproc/groonga/hacks.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/groonga/hacks.mk b/textproc/groonga/hacks.mk new file mode 100644 index 00000000000..9d15b8e9b1a --- /dev/null +++ b/textproc/groonga/hacks.mk @@ -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 |