git: 1cb50a2ddd63 - 2024Q4 - graphics/libjxl: fix build on big-endian
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Nov 2024 05:29:34 UTC
The branch 2024Q4 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=1cb50a2ddd631d250823919955f780d3767132ac commit 1cb50a2ddd631d250823919955f780d3767132ac Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-11-05 10:35:40 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-11-23 05:29:18 +0000 graphics/libjxl: fix build on big-endian -- Big-endian architecture detected; defaulting to lcms2 instead of skcms (cherry picked from commit 7dbe2e17c9fb7b1c3a802d34c2ba7d7b3ef87456) --- graphics/libjxl/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile index eedb10a1558b..86c00cac5f92 100644 --- a/graphics/libjxl/Makefile +++ b/graphics/libjxl/Makefile @@ -60,6 +60,12 @@ PIXBUF_CMAKE_BOOL= JPEGXL_ENABLE_PLUGIN_GDKPIXBUF PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PNG +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc || ${ARCH} == powerpc64 +LIB_DEPENDS+= liblcms2.so:graphics/lcms2 +.endif + post-patch: @${REINPLACE_CMD} 's,/usr,${LOCALBASE},' \ ${WRKSRC}/plugins/gdk-pixbuf/jxl.thumbnailer