pkgsrc/graphics/MesaLib/hacks.mk
he c9d08bf5e1 graphics/MesaLib: make this build & install on NetBSD/powerpc.
* Add hacks.mk to make -latomic visible for 64-bit atomics.
 * Turn off nouveau build, as we do not have the DRI libs for that.
 * Introduce PLIST.xa, turned off on powerpc, apparently this requires
   one of nouveau, freedreno, i815 or svga gallium drivers.
2022-07-25 09:49:06 +00:00

13 lines
412 B
Makefile

# $NetBSD: hacks.mk,v 1.15 2022/07/25 09:49:06 he Exp $
.if !defined(GRAPHICS_MESALIB_HACKS_MK)
GRAPHICS_MESALIB__HACKS_MK= defined
# [Sun Jul 24 20:23:03 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_MESALIB_HACKS_MK