pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/protobuf-c



Module Name:    pkgsrc
Committed By:   he
Date:           Thu Jun 23 13:57:35 UTC 2022

Added Files:
        pkgsrc/devel/protobuf-c: hacks.mk

Log Message:
devel/protobuf-c: needs -latomic on NetBSD/powerpc.

Presumably for 8-byte atomic operations.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/protobuf-c/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/devel/protobuf-c/hacks.mk
diff -u /dev/null pkgsrc/devel/protobuf-c/hacks.mk:1.1
--- /dev/null   Thu Jun 23 13:57:35 2022
+++ pkgsrc/devel/protobuf-c/hacks.mk    Thu Jun 23 13:57:35 2022
@@ -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