pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/R-later sysiutils/R-later: needs -latomic on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/577cd3ce4ecc
branches:  trunk
changeset: 380994:577cd3ce4ecc
user:      he <he%pkgsrc.org@localhost>
date:      Wed Jun 22 14:04:49 2022 +0000

description:
sysiutils/R-later: needs -latomic on NetBSD/powerpc to build.

diffstat:

 sysutils/R-later/hacks.mk |  12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 620c986facd2 -r 577cd3ce4ecc sysutils/R-later/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/R-later/hacks.mk Wed Jun 22 14:04:49 2022 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: hacks.mk,v 1.1 2022/06/22 14:04:49 he Exp $
+
+.if !defined(R_LATER_HACKS_MK)
+R_LATER_HACKS_MK=      defined
+
+# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
+.if ${MACHINE_ARCH} == "powerpc"
+PKG_HACKS+=    powerpc-latomic
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
+.endif # R_LATER_HACKS_MK



Home | Main Index | Thread Index | Old Index