pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/vtk



Module Name:    pkgsrc
Committed By:   he
Date:           Fri Jul 29 09:56:49 UTC 2022

Added Files:
        pkgsrc/graphics/vtk: hacks.mk

Log Message:
graphics/vtk: on NetBSD/powerpc, use libatomic for 8-byte atomics.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/vtk/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/graphics/vtk/hacks.mk
diff -u /dev/null pkgsrc/graphics/vtk/hacks.mk:1.1
--- /dev/null   Fri Jul 29 09:56:49 2022
+++ pkgsrc/graphics/vtk/hacks.mk        Fri Jul 29 09:56:49 2022
@@ -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