Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2024 05:29:34 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 1cb50a2ddd63 - 2024Q4 - graphics/libjxl: fix build on big-endian
Message-ID:  <202411230529.4AN5TYgr083413@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411230529.4AN5TYgr083413>