This introduces the following option:
- MK_PKGCONF: determines if pkgconf and bomtool should be built
Sponsored by: Alpha-Omega, The FreeBSD Foundation
Differential D56404
pkgconf: import into the base system Authored by khorben on Apr 15 2026, 11:01 AM. Tags None Referenced Files
Details
This introduces the following option:
Sponsored by: Alpha-Omega, The FreeBSD Foundation $ make buildworld $ sudo make installworld $ /usr/bin/pkgconf --version 2.5.1 $ /usr/bin/pkgconf --cflags --libs zlib -L/lib -lz
Diff Detail
Event TimelineComment Actions This patch adds /usr/local/etc/pkgconfig/personality.d to -DPERSONALITY_PATH in lib/libpkgconfig/Makefile, as requested by bapt at https://ron-dev.freebsd.org/FreeBSD/src/pulls/9.
Comment Actions This update addresses feedback from bapt, more precisely:
Thanks!
Comment Actions this is also missing package definitions in release/packages/ucl, so it will break the package build. you can copy an existing ucl file and modify it as appropriate; usually all you need is a comment and a description. let me know if you want me to test the package build. Comment Actions This addresses feedback from ivy, moving /usr/include/pkgconf into the pkgconf-dev package.
Comment Actions What is the relationship of this type of change to use of ${PREFIX} when ports install themselves and it is not the /usr/local default value? (There is also a linux compatibility related standard default for PREFIX and folks can specify things like /opt .) There was a later change to use /usr/local/ when LOCALBASE was undefined. But in response to that last change there is now from eduardo@freebsd.org :
(Due to the message Nuno picked to reply to I ended up listed as the "To:", des and the lists Cc:'d.) I figured I could at least ask the question here of the folks involved in the original review so that the question is not completely lost. Comment Actions I missed these messages, thanks for mentioning them here. Systems with a different PREFIX than /usr/local should install pkgconf for themselves, as was the case before. Make sure that path has precedence over /usr/bin in such cases. Let me know if that's not an acceptable situation, and we can look for a better solution. Comment Actions
Systems with a different PREFIX than /usr/local need to run a world built with LOCALBASE set to the correct value.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||