finance/bitcoin: Convert to using mk/atomic64.mk.

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

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.51 2022/07/02 16:53:16 ryoon Exp $
# $NetBSD: Makefile,v 1.52 2022/08/06 16:46:23 he Exp $
DISTNAME= bitcoin-22.0
PKGREVISION= 6
@ -57,4 +57,5 @@ BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.21
.include "../../net/zeromq/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,13 +0,0 @@
# $NetBSD: hacks.mk,v 1.1 2022/08/01 18:14:25 he Exp $
.if !defined(FINANCE_BITCOIN_HACKS_MK)
FINANCE_BITCOIN__HACKS_MK= defined
# [ Mon Aug 1 13:09:11 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 # FINANCE_BITCOIN_HACKS_MK