1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

graphics/libjxl: fix build on big-endian

-- Big-endian architecture detected; defaulting to lcms2 instead of skcms
This commit is contained in:
Piotr Kubaj 2024-11-05 11:35:40 +01:00
parent 3ab18d4b84
commit 7dbe2e17c9

View File

@ -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