summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-06-23 07:12:40 +0000
committernia <nia@pkgsrc.org>2022-06-23 07:12:40 +0000
commit99c17d06ede80e38799d22243ff908736ca7e035 (patch)
treeaa0728763e7a32bccf59bf99b1c1756b6a84ed9d
parentdcdeb4139b6f96db9b4bdbe0539472584e131cb4 (diff)
downloadpkgsrc-99c17d06ede80e38799d22243ff908736ca7e035.tar.gz
darktable: Remove x86-only restriction. "It looks like it should work".
Debian has this at least building on aarch64 without patches.
-rw-r--r--graphics/darktable/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index 14932a0390f..265c6dde842 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -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 @@ CONFIGURE_DIRS= ../pkgsrc_build
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 @@ GCC_REQD+= 4.2
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