pkgsrc-Changes archive

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

CVS commit: pkgsrc/finance/bitcoin



Module Name:    pkgsrc
Committed By:   he
Date:           Mon Aug  1 18:14:25 UTC 2022

Added Files:
        pkgsrc/finance/bitcoin: hacks.mk

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/bitcoin/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/finance/bitcoin/hacks.mk
diff -u /dev/null pkgsrc/finance/bitcoin/hacks.mk:1.1
--- /dev/null   Mon Aug  1 18:14:25 2022
+++ pkgsrc/finance/bitcoin/hacks.mk     Mon Aug  1 18:14:25 2022
@@ -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