pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/OpenJPH
Module Name: pkgsrc
Committed By: nia
Date: Sun Jul 7 09:25:40 UTC 2024
Modified Files:
pkgsrc/graphics/OpenJPH: Makefile
Log Message:
OpenJPH: Support compiling on non-amd64 platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/OpenJPH/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/OpenJPH/Makefile
diff -u pkgsrc/graphics/OpenJPH/Makefile:1.1 pkgsrc/graphics/OpenJPH/Makefile:1.2
--- pkgsrc/graphics/OpenJPH/Makefile:1.1 Sat Jan 6 19:11:38 2024
+++ pkgsrc/graphics/OpenJPH/Makefile Sun Jul 7 09:25:40 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2024/01/06 19:11:38 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2024/07/07 09:25:40 nia Exp $
DISTNAME= OpenJPH-0.10.0
CATEGORIES= graphics
@@ -15,6 +15,12 @@ USE_LANGUAGES= c++
PKGCONFIG_OVERRIDE+= ${CMAKE_BUILD_DIR}/openjph.pc
PKGCONFIG_OVERRIDE_STAGE= post-build
+.include "../../mk/bsd.prefs.mk"
+.if ${MACHINE_ARCH} != "x86_64"
+CMAKE_ARGS+= -DOJPH_DISABLE_INTEL_SIMD=ON
+CMAKE_ARGS+= -DOJPH_ENABLE_INTEL_AVX512=OFF
+.endif
+
.include "../../devel/cmake/build.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index