The build fails (in the configure phase), with the following error when the TIFF option is disabled: ------- [...] Checking for function "jpeg_simple_progression" with dependency libjpeg: YES Did not find CMake 'cmake' Found CMake: NO Run-time dependency libtiff-4 found: NO (tried pkgconfig) meson.build:330:13: ERROR: Dependency "libtiff-4" not found, tried pkgconfig --------
Moin moin From a frist glance it looks like the option helpers in the Makefile are wrong. it should be FOO_MESON_ENABLED=bar note the ENABLED instead of ENABLE mfg Tobias
(In reply to Tassilo Philipp from comment #0) Moin moin I pushed the change to the option code -- could you please check whether that fixes the issue for you? mfg Tobias
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=77005af64c4a0166929192f6b7c461ae54f374ff commit 77005af64c4a0166929192f6b7c461ae54f374ff Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2023-05-19 06:11:44 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-05-19 06:13:18 +0000 graphics/gdk-pixbuf2: fix option variables The Makefile was using FOO_MESON_ENABLE= bar instead of FOO_MESON_ENABLED= bar so those values were never passed to meson in the first place. PR: 271472 graphics/gdk-pixbuf2/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Tested and it's working! Thanks, that was quick!
(In reply to Tassilo Philipp from comment #4) Awesome :)
FWIW, such issues can be found via portscan from ports-mgmt/portfmt e.g., $ git checkout 77005af64c4a~1 $ portscan -p . graphics/gdk-pixbuf2 [100%] finished in 0s V graphics/gdk-pixbuf2 JPEG_MESON_ENABLE V graphics/gdk-pixbuf2 PNG_MESON_ENABLE V graphics/gdk-pixbuf2 TIFF_MESON_ENABLE