pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/finance/bitcoin finance/bitcoin: add file to make -lat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35717b83e91b
branches:  trunk
changeset: 382620:35717b83e91b
user:      he <he%pkgsrc.org@localhost>
date:      Mon Aug 01 18:14:25 2022 +0000

description:
finance/bitcoin: add file to make -latomic available on NetBSD/powerpc.

diffstat:

 finance/bitcoin/hacks.mk |  13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 9671da92b4f0 -r 35717b83e91b finance/bitcoin/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/bitcoin/hacks.mk  Mon Aug 01 18:14:25 2022 +0000
@@ -0,0 +1,13 @@
+# $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



Home | Main Index | Thread Index | Old Index