[BACK]Return to hacks.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / groonga

File: [cvs.NetBSD.org] / pkgsrc / textproc / groonga / hacks.mk (download)

Revision 1.5, Sun Sep 13 13:16:10 2020 UTC (13 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
Branch point for: pkgsrc-2020Q2
Changes since 1.4: +9 -9 lines

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

# $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