pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/vtk graphics/vtk: on NetBSD/powerpc, use liba...
details: https://anonhg.NetBSD.org/pkgsrc/rev/11371cde2457
branches: trunk
changeset: 382473:11371cde2457
user: he <he%pkgsrc.org@localhost>
date: Fri Jul 29 09:56:49 2022 +0000
description:
graphics/vtk: on NetBSD/powerpc, use libatomic for 8-byte atomics.
diffstat:
graphics/vtk/hacks.mk | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r ae352b7a5c98 -r 11371cde2457 graphics/vtk/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vtk/hacks.mk Fri Jul 29 09:56:49 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: hacks.mk,v 1.1 2022/07/29 09:56:49 he Exp $
+
+.if !defined(GRAPHICS_VTK_HACKS_MK)
+GRAPHICS_VTK__HACKS_MK= defined
+
+# [Fri Jul 29 11:55:42 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 # GRAPHICS_VTK_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index