graphics/MesaLib: convert to using mk/atomic64.mk.

This commit is contained in:
he 2022-08-06 16:48:06 +00:00
parent f924744b07
commit ad21d0d167
2 changed files with 2 additions and 14 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.202 2022/08/02 20:36:51 tnn Exp $
# $NetBSD: Makefile,v 1.203 2022/08/06 16:48:06 he Exp $
DISTNAME= mesa-21.3.9
PKGNAME= ${DISTNAME:S/mesa/MesaLib/}
@ -192,4 +192,5 @@ post-install:
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,13 +0,0 @@
# $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