pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/lensfun lensfun: disable SSE on non-x86_64



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4a3e0646c7f
branches:  trunk
changeset: 453487:c4a3e0646c7f
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 30 12:12:29 2021 +0000

description:
lensfun: disable SSE on non-x86_64

diffstat:

 graphics/lensfun/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 3cae00e78bf7 -r c4a3e0646c7f graphics/lensfun/Makefile
--- a/graphics/lensfun/Makefile Sun May 30 11:48:28 2021 +0000
+++ b/graphics/lensfun/Makefile Sun May 30 12:12:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2020/12/04 20:45:22 nia Exp $
+# $NetBSD: Makefile,v 1.37 2021/05/30 12:12:29 nia Exp $
 
 DISTNAME=      lensfun-0.3.2
 PKGREVISION=   3
@@ -20,6 +20,11 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${MACHINE_ARCH} != "x86_64"
+CMAKE_ARGS+=           -DBUILD_FOR_SSE=OFF
+CMAKE_ARGS+=           -DBUILD_FOR_SSE2=OFF
+.endif
+
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 # png: for test programs only



Home | Main Index | Thread Index | Old Index