pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/darktable darktable: Remove x86-only restrict...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3bf5c40e566a
branches:  trunk
changeset: 381006:3bf5c40e566a
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jun 23 07:12:40 2022 +0000

description:
darktable: Remove x86-only restriction. "It looks like it should work".

Debian has this at least building on aarch64 without patches.

diffstat:

 graphics/darktable/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 1651cf0936ac -r 3bf5c40e566a graphics/darktable/Makefile
--- a/graphics/darktable/Makefile       Thu Jun 23 07:10:13 2022 +0000
+++ b/graphics/darktable/Makefile       Thu Jun 23 07:12:40 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.129 2022/06/23 07:08:36 nia Exp $
+# $NetBSD: Makefile,v 1.130 2022/06/23 07:12:40 nia Exp $
 
 DISTNAME=      darktable-3.6.1
 PKGREVISION=   3
@@ -44,9 +44,6 @@
 CMAKE_ARG_PATH=        ${WRKSRC}
 LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/darktable
 
-# Hard-coded use of SSE2
-ONLY_FOR_PLATFORM=     *-*-i386 *-*-x86_64
-
 .include "../../mk/bsd.fast.prefs.mk"
 .if ${MACHINE_ARCH} == "i386"
 # SSE alignment issues
@@ -54,6 +51,8 @@
 CFLAGS+=       -mstackrealign -msse2 -march=i686
 .elif ${MACHINE_ARCH} == "x86_64"
 CFLAGS+=       -msse2
+.else
+CMAKE_ARGS+=   -DBUILD_SSE2_CODEPATHS=OFF
 .endif
 
 CFLAGS.NetBSD+=        -D_NETBSD_SOURCE



Home | Main Index | Thread Index | Old Index