Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2024 04:10:14 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ada3d2df83fc - main - graphics/libjxl: unbreak JPEG=off build after 70e2590d63b0
Message-ID:  <202411230410.4AN4AEET041594@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit ada3d2df83fc99e6ac855984a6cecb034bdcd743
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-11-23 03:28:07 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-11-23 04:00:47 +0000

    graphics/libjxl: unbreak JPEG=off build after 70e2590d63b0
    
    In file included from lib/extras/dec/jpegli.cc:16:
    In file included from lib/extras/enc/jpegli.cc:27:
    In file included from lib/jpegli/common.h:23:
    lib/jxl/base/include_jpeglib.h:15:10: fatal error: 'jpeglib.h' file not found
       15 | #include <jpeglib.h>  // IWYU pragma: keep
          |          ^~~~~~~~~~~
    
    PR:             282926
    Reported by:    amdmi3
---
 graphics/libjxl/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile
index adced72d2797..96b0e046a5f8 100644
--- a/graphics/libjxl/Makefile
+++ b/graphics/libjxl/Makefile
@@ -40,6 +40,7 @@ GIF_LIB_DEPENDS=	libgif.so:graphics/giflib
 GIF_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_GIF
 
 JPEG_USES=		jpeg
+JPEG_CMAKE_BOOL=	JPEGXL_ENABLE_JPEGLI
 JPEG_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_JPEG
 JPEG_CMAKE_BOOL_OFF+=	JPEGXL_ENABLE_JPEGLI_LIBJPEG # XXX WITH_JPEG8, libmap.conf(5)
 



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