pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/protobuf-c devel/protobuf-c: needs -latomic on N...
details: https://anonhg.NetBSD.org/pkgsrc/rev/48b397e7da52
branches: trunk
changeset: 381014:48b397e7da52
user: he <he%pkgsrc.org@localhost>
date: Thu Jun 23 13:57:35 2022 +0000
description:
devel/protobuf-c: needs -latomic on NetBSD/powerpc.
Presumably for 8-byte atomic operations.
diffstat:
devel/protobuf-c/hacks.mk | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 6f53d7fe0e37 -r 48b397e7da52 devel/protobuf-c/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/protobuf-c/hacks.mk Thu Jun 23 13:57:35 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: hacks.mk,v 1.1 2022/06/23 13:57:35 he Exp $
+
+.if !defined(PROTOC_C_HACKS_MK)
+PROTOC_C_HACKS_MK= defined
+
+# [Wed Jun 22 17:05:22 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 # PROTOC_C_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index