git: 60194bbd3a61 - main - graphics/libjxl: convert PIXBUF=off to CMAKE_BOOL after 7ea47cecaa27

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 13:00:59 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60194bbd3a61c366aaba11c62aa74737310d3f4d

commit 60194bbd3a61c366aaba11c62aa74737310d3f4d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-23 12:49:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-23 13:00:03 +0000

    graphics/libjxl: convert PIXBUF=off to CMAKE_BOOL after 7ea47cecaa27
    
    https://github.com/libjxl/libjxl/commit/043d52913b63
---
 graphics/libjxl/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile
index 390288644888..4285076da61b 100644
--- a/graphics/libjxl/Makefile
+++ b/graphics/libjxl/Makefile
@@ -53,6 +53,7 @@ OPENEXR_CMAKE_BOOL=	JPEGXL_ENABLE_OPENEXR
 
 PIXBUF_USES=		gnome
 PIXBUF_USE=		GNOME=gdkpixbuf2
+PIXBUF_CMAKE_BOOL=	JPEGXL_ENABLE_PLUGIN_GDKPIXBUF
 
 PNG_LIB_DEPENDS=	libpng.so:graphics/png
 PNG_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_PNG
@@ -61,7 +62,4 @@ post-patch:
 	@${REINPLACE_CMD} 's,/usr,${LOCALBASE},' \
 		${WRKSRC}/plugins/gdk-pixbuf/jxl.thumbnailer
 
-post-patch-PIXBUF-off:
-	@${REINPLACE_CMD} -i.nopixbuf '/gdk-pixbuf/d' ${WRKSRC}/plugins/CMakeLists.txt
-
 .include <bsd.port.mk>