pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/protobuf
Module Name: pkgsrc
Committed By: he
Date: Tue Sep 8 08:35:23 UTC 2020
Added Files:
pkgsrc/devel/protobuf: hacks.mk
Log Message:
On powerpc, which lacks native 8-byte atomics, use devel/libatomic.
Build fix on this platform only, so no revision bump.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/protobuf/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/hacks.mk
diff -u /dev/null pkgsrc/devel/protobuf/hacks.mk:1.1
--- /dev/null Tue Sep 8 08:35:23 2020
+++ pkgsrc/devel/protobuf/hacks.mk Tue Sep 8 08:35:23 2020
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2020/09/08 08:35:23 he Exp $
+
+.if !defined(PROTOBUF_HACKS_MK)
+PROTOBUF_HACKS_MK= defined
+
+# [ Tue Sep 8 08:38:08 CEST 2020 : he ]
+# Bring -latomic into scope; build insists on it being available
+# on this platform (probably due to no native 8-byte atomics).
+.if !empty(MACHINE_ARCH:Mpowerpc*)
+.include "../../devel/libatomic/buildlink3.mk"
+PKG_HACKS+= powerpc-libatomic
+.endif
+
+.endif # PROTOBUF_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index