summaryrefslogtreecommitdiff
path: root/graphics/vtk/hacks.mk
blob: 3e4ccf6fa97afe5960fad2d746a2833e1a46fd31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: hacks.mk,v 1.1 2022/07/29 09:56:49 he Exp $

.if !defined(GRAPHICS_VTK_HACKS_MK)
GRAPHICS_VTK__HACKS_MK=	defined

# [Fri Jul 29 11:55:42 CEST 2022 : he ]
# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
.if ${MACHINE_ARCH} == "powerpc" && ${OPSYS} == "NetBSD"
PKG_HACKS+=	powerpc-atomics
.include "../../devel/libatomic/buildlink3.mk"
.endif

.endif	# GRAPHICS_VTK_HACKS_MK