git: ba19f8a7d0f0 - 2023Q1 - graphics/libjxl: convert PIXBUF=off to CMAKE_BOOL after 7ea47cecaa27

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 03 Mar 2023 15:59:47 UTC
The branch 2023Q1 has been updated by jbeich:

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

commit ba19f8a7d0f0fb5283c240acb840d1c6a3518b8c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-23 12:49:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-03 15:59:38 +0000

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

diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile
index cac19b6f5760..153f998ae61f 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>