pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/opencolorio



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Oct  2 06:48:01 UTC 2024

Modified Files:
        pkgsrc/graphics/opencolorio: Makefile

Log Message:
opencolorio: Properly disable SSE where neccessary.

It looks like (a) the name of the cmake variable changed and (b) the
code is no longer working on i386.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/graphics/opencolorio/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/opencolorio/Makefile
diff -u pkgsrc/graphics/opencolorio/Makefile:1.11 pkgsrc/graphics/opencolorio/Makefile:1.12
--- pkgsrc/graphics/opencolorio/Makefile:1.11   Wed Jun 26 16:20:55 2024
+++ pkgsrc/graphics/opencolorio/Makefile        Wed Oct  2 06:48:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2024/06/26 16:20:55 adam Exp $
+# $NetBSD: Makefile,v 1.12 2024/10/02 06:48:01 nia Exp $
 
 DISTNAME=      OpenColorIO-2.3.2
 PKGNAME=       ${DISTNAME:tl}
@@ -27,15 +27,16 @@ CMAKE_CONFIGURE_ARGS+=      -DOCIO_BUILD_PYGL
 # Only use pkgsrc dependencies
 CMAKE_CONFIGURE_ARGS+= -DOCIO_INSTALL_EXT_PACKAGES:STRING=NONE
 
-.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
-CMAKE_CONFIGURE_ARGS+= -DOCIO_USE_SSE:BOOL=OFF
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} != "x86_64"
+CMAKE_CONFIGURE_ARGS+= -DOCIO_BUILD_ENABLE_OPTIMIZATIONS_SSE:BOOL=OFF
 .endif
 
 PKGCONFIG_OVERRIDE+=   src/OpenColorIO/res/OpenColorIO.pc.in
 
 BUILDLINK_TRANSFORM+=  rm:-Werror
 
-.include "../../mk/bsd.prefs.mk"
 # Use native macOS OpenGL.
 .if ${OPSYS} == "Darwin"
 # Tries to download sse2neon.h.



Home | Main Index | Thread Index | Old Index