maintainer-feedback requested: [Bug 288770] net/libproxy: compile error: Run-time dependency libcurl found: NO

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Aug 2025 07:51:39 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 288770: net/libproxy: compile error: Run-time dependency libcurl found: NO
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288770



--- Description ---
On a most recent CURRENT (FreeBSD 15.0-PRERELEASE #12
master-n279529-5bffa1d2069a: Sun Aug 10 08:10:50 CEST 2025 amd64) port
net/libproxy fails to buildwith error:

[...]
Compiler for C supports link arguments -Wl,-z,nodelete: YES 
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.4.3
Run-time dependency glib-2.0 found: YES 2.84.1
Run-time dependency gio-2.0 found: YES 2.84.1
Found CMake: /usr/local/bin/cmake (3.31.7)
Run-time dependency libcurl found: NO (tried cmake)

meson.build:118:11: ERROR: Dependency lookup for libcurl with method
'pkgconfig' failed: Could not generate cflags for libcurl:
Package mit-krb5-gssapi was not found in the pkg-config search path.
Perhaps you should add the directory containing `mit-krb5-gssapi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'mit-krb5-gssapi', required by 'libcurl', not found
[...]

but port ftp/curl is successfully installed and required shared object
obviously can be found, as the head message of the portbuild indicates:

[...]
===>  Patching for libproxy-0.5.10
===>   libproxy-0.5.10 depends on executable: gi-docgen - found
===>   libproxy-0.5.10 depends on file:
/usr/local/libdata/pkgconfig/gsettings-desktop-schemas.pc - found
===>   libproxy-0.5.10 depends on executable: meson - found
===>   libproxy-0.5.10 depends on executable: ninja - found
===>   libproxy-0.5.10 depends on package: pkgconf>=1.3.0_1 - found
===>   libproxy-0.5.10 depends on executable: valac - found
===>   libproxy-0.5.10 depends on shared library: libcurl.so - found
(/usr/local/lib/libcurl.so)
===>   libproxy-0.5.10 depends on shared library: libglib-2.0.so - found
(/usr/local/lib/libglib-2.0.so)
===>   libproxy-0.5.10 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   libproxy-0.5.10 depends on shared library: libgirepository-1.0.so -
found (/usr/local/lib/libgirepository-1.0.so)
===>  Configuring for libproxy-0.5.10
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using
both is redundant since they override each other. See:
https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.7.0
Source dir: /usr/ports/net/libproxy/work/libproxy-0.5.10