The BSDmakefile file offered here for review is really meant for streamlining the process of vendor import and updates for pkgconf.
pkgconf is a "package compiler and linker metadata toolkit", created as a re-implementation of its venerable predecessor, pkg-config. It is suggested as a vendor import here for two purposes:
- Help simplify FreeBSD's build system, especially for third-party software and downstream users;
- Allow the creation and installation of SBOM files for the base system with bomtool(1), and later also spdxtool(1).
This file was originally based on ngie's crypto/openssl/BSDmakefile; however, there is currently no equivalent location in the source tree that I can think of. When using it, place it in e.g., usr.bin/pkgconf/BSDmakefile.vendor and run the commands listed below.
This will automatically merge versions 2.4.3 and 2.5.1 into the current branch.
To be absolutely clear: this review is about the resulting vendor branch, not this file; a similar outcome can be found at https://github.com/khorben/freebsd-src/commit/4e43971748c9ed8fe436ecaa3d686583dfa790b0.
Sponsored by: Alpha-Omega, The FreeBSD Foundation