Date: Fri, 28 Apr 2023 19:00:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271124] graphics/libjxl: fails to package with JPEG unset Message-ID: <bug-271124-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271124 Bug ID: 271124 Summary: graphics/libjxl: fails to package with JPEG unset Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: fsbruva@yahoo.com Flags: maintainer-feedback?(jbeich@FreeBSD.org) Assignee: jbeich@FreeBSD.org Created attachment 241835 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241835&action= =3Dedit Proposed patch to add JPEG conditionality Problem: making the libjxl port with JPEG option unset causes packaging fai= lure =3D=3D=3D> Building package for libjxl-0.8.1 pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/libjxl/work/stage/usr/local/bin/cjpeg_hdr:No su= ch file or directory *** Error code 1 Discussion: The Makefile correctly instructs CMAKE to not search for JPEG b= ased on the set/unset status of the JPEG option. However, according to https://github.com/libjxl/libjxl/blob/c27d499263435ac77007174e0f1cf54557cff= 23a/tools/CMakeLists.txt#L147, that also disables compilation of the cjpeg_hdr binary. Proposed solution: The attached patch amends the pkg-plist for the port to = be contingent on the JPEG option. This avoids the above errorwhen JPEG is unse= t, and permits the compilation of cjpeg_hdr when the JPEG option is set. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271124-7788>