diff options
author | he <he@pkgsrc.org> | 2022-06-22 14:04:49 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2022-06-22 14:04:49 +0000 |
commit | be0a2f567afa01f26d7f31a4dd182bafe49c7ec6 (patch) | |
tree | 37a81c686ef9b4a09d3850c817aa75df2deb0326 /sysutils | |
parent | 90511056c555a9910dc0a17166ae5260f5abdaee (diff) | |
download | pkgsrc-be0a2f567afa01f26d7f31a4dd182bafe49c7ec6.tar.gz |
sysiutils/R-later: needs -latomic on NetBSD/powerpc to build.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/R-later/hacks.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/R-later/hacks.mk b/sysutils/R-later/hacks.mk new file mode 100644 index 00000000000..f3c91fd4aab --- /dev/null +++ b/sysutils/R-later/hacks.mk @@ -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 |