pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgsrc-2020Q2] pkgsrc/devel/protobuf
Module Name: pkgsrc
Committed By: bsiegert
Date: Fri Sep 18 18:20:57 UTC 2020
Added Files:
pkgsrc/devel/protobuf [pkgsrc-2020Q2]: hacks.mk
Log Message:
Pullup ticket #6320 - requested by he
devel/protobuf: PowerPC build fix
Revisions pulled up:
- devel/protobuf/hacks.mk 1.1
---
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.2.2 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.2.2
--- /dev/null Fri Sep 18 18:20:57 2020
+++ pkgsrc/devel/protobuf/hacks.mk Fri Sep 18 18:20:57 2020
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:20:57 bsiegert 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