pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/opencolorio opencolorio: Disable SSE on non-x86



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6d9dade5457
branches:  trunk
changeset: 416168:e6d9dade5457
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Oct 20 09:51:02 2019 +0000

description:
opencolorio: Disable SSE on non-x86

diffstat:

 graphics/opencolorio/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 03b25a75f7ff -r e6d9dade5457 graphics/opencolorio/Makefile
--- a/graphics/opencolorio/Makefile     Sun Oct 20 09:42:13 2019 +0000
+++ b/graphics/opencolorio/Makefile     Sun Oct 20 09:51:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/09/22 23:40:29 nia Exp $
+# $NetBSD: Makefile,v 1.7 2019/10/20 09:51:02 nia Exp $
 
 DISTNAME=      OpenColorIO-1.1.1
 PKGREVISION=   1
@@ -24,6 +24,10 @@
 CMAKE_ARGS+=   -DOCIO_BUILD_SHARED:BOOL=ON
 CMAKE_ARGS+=   -DOCIO_BUILD_PYGLUE:BOOL=OFF
 
+.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
+CMAKE_ARGS+=   -DOCIO_USE_SSE:BOOL=OFF
+.endif
+
 PKGCONFIG_OVERRIDE+=   export/pkgconfig/OpenColorIO.pc.in
 
 BUILDLINK_TRANSFORM+=  rm:-Werror



Home | Main Index | Thread Index | Old Index