aboutsummaryrefslogtreecommitdiff
path: root/graphics/openjph
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-11-16 15:55:24 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-11-16 15:55:24 +0000
commit1d734e07f9b94eb363e1e9c1e22aaaddcd2dab9d (patch)
tree34523004837c9169ce6170636fd060140788b73c /graphics/openjph
parent124a75d2acf16c5696da37af51916735122c8293 (diff)
downloadports-1d734e07f9b94eb363e1e9c1e22aaaddcd2dab9d.tar.gz
ports-1d734e07f9b94eb363e1e9c1e22aaaddcd2dab9d.zip
graphics/openjph: fix build on non-x86
Reported by: linimon
Notes
Notes: svn path=/head/; revision=555489
Diffstat (limited to 'graphics/openjph')
-rw-r--r--graphics/openjph/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/openjph/Makefile b/graphics/openjph/Makefile
index a862707a8b80..301b62db82dc 100644
--- a/graphics/openjph/Makefile
+++ b/graphics/openjph/Makefile
@@ -19,4 +19,10 @@ GH_ACCOUNT= aous72
GH_PROJECT= OpenJPH
USE_GITHUB= yes
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+= -DOJPH_DISABLE_INTEL_SIMD:BOOL=ON
+.endif
+
.include <bsd.port.mk>