bmake: Add a package for bmake and share/mk

bmake along with /usr/share/mk seems to meet the criteria for being in
its own package: it's self-contained and the majority of users (who are
using binary packages) don't need to install it, so it doesn't belong in
FreeBSD-utilities.  Instead, put it in its own package.

Add a dependency on the new package from:

- sendmail (uses make to build its configuration)
- NIS (uses make to build the database).

But not from examples, because while some of the examples do require
make, they are intended as examples rather than something to be used
directly.

Reviewed by:	manu, sjg
Differential Revision:	https://reviews.freebsd.org/D50149
This commit is contained in:
Lexi Winter 2025-07-27 12:24:33 +01:00
parent ad023bc26e
commit 14f57afb85
6 changed files with 27 additions and 0 deletions

View file

@ -27,6 +27,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
world, or to merely disable the most expensive debugging functionality
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
20250727:
bmake (i.e., /usr/bin/make and /usr/share/mk) has moved to a new
package, FreeBSD-bmake. If you use pkgbase and you need make, you
should install this package.
20250727:
LLVM's debugging assertions are now disabled in main by default.
The WITH_LLVM_ASSERTIONS src.conf(5) knob should be used to

View file

@ -0,0 +1,5 @@
comment = "Program maintenance utility"
desc = <<EOD
make(1) allows programs to be built from source files based on a specification
of the program's dependencies called a Makefile.
EOD

View file

@ -0,0 +1,7 @@
deps {
# sendmail requires make to build its configuration file.
"bmake": {
version = "${VERSION}"
origin = "base"
}
}

View file

@ -0,0 +1,7 @@
deps {
# YP requires bmake to rebuild the database.
"bmake": {
version = "${VERSION}"
origin = "base"
}
}

View file

@ -10,6 +10,7 @@ UPDATE_DEPENDFILE= no
.include <src.opts.mk>
PACKAGE= bmake
FILES= \
auto.obj.mk \
bsd.README \

View file

@ -3,6 +3,8 @@ MK_host_egacy= no
.sinclude <src.opts.mk>
PACKAGE?= bmake
.if defined(.PARSEDIR)
# make sure this is available to unit-tests/Makefile
.export SRCTOP