aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPierre Pronchery <khorben@FreeBSD.org>2026-04-08 16:52:29 +0000
committerPierre Pronchery <khorben@FreeBSD.org>2026-04-22 13:42:56 +0000
commitb8352da33f3434f0ba6093df361261d1b1f973a1 (patch)
tree0f0a0a82e1e5654533422af8d0f92d50205a36b6 /tools
parenta3cefe7f2b4df0f70ff92d4570ce18e517af43ec (diff)
Diffstat (limited to 'tools')
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc18
-rw-r--r--tools/build/options/WITHOUT_PKGCONF1
-rw-r--r--tools/build/options/WITH_PKGCONF5
3 files changed, 24 insertions, 0 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 3a45c7c9a01c..79d415163c87 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -6911,6 +6911,24 @@ OLD_FILES+=usr/share/snmp/defs/pf_tree.def
OLD_FILES+=usr/share/snmp/mibs/BEGEMOT-PF-MIB.txt
.endif
+.if ${MK_PKGCONF} == no
+OLD_FILES+=usr/bin/bomtool
+OLD_FILES+=usr/bin/pkgconf
+OLD_FILES+=usr/include/pkgconf/bsdstubs.h
+OLD_FILES+=usr/include/pkgconf/iter.h
+OLD_FILES+=usr/include/pkgconf/libpkgconf-api.h
+OLD_FILES+=usr/include/pkgconf/libpkgconf.h
+OLD_FILES+=usr/include/pkgconf/stdinc.h
+OLD_DIRS+=usr/include/pkgconf
+OLD_LIBS+=usr/lib/libprivatepkgconf.so
+OLD_LIBS+=usr/lib/libprivatepkgconf.so.5
+OLD_FILES+=usr/share/man/man1/bomtool.1.gz
+OLD_FILES+=usr/share/man/man1/pkgconf.1.gz
+OLD_FILES+=usr/share/man/man5/pc.5.gz
+OLD_FILES+=usr/share/man/man5/pkgconf-personality.5.gz
+OLD_FILES+=usr/share/man/man7/pkg.m4.7.gz
+.endif
+
.if ${MK_PKGSERVE} == no
OLD_FILES+=usr/libexec/pkg-serve
OLD_FILES+=usr/share/man/man8/pkg-serve.8.gz
diff --git a/tools/build/options/WITHOUT_PKGCONF b/tools/build/options/WITHOUT_PKGCONF
new file mode 100644
index 000000000000..dcf9e0821329
--- /dev/null
+++ b/tools/build/options/WITHOUT_PKGCONF
@@ -0,0 +1 @@
+Do not build the pkgconf binaries nor the libpkgconf library.
diff --git a/tools/build/options/WITH_PKGCONF b/tools/build/options/WITH_PKGCONF
new file mode 100644
index 000000000000..f34431bd04c6
--- /dev/null
+++ b/tools/build/options/WITH_PKGCONF
@@ -0,0 +1,5 @@
+Build the pkgconf binaries,
+.Xr pkgconf 1 ,
+and
+.Xr bomtool 1 ,
+and libpkgconf library (private).