On 24/01/2024 10:28, Luca Pizzamiglio wrote:
Hi porters!
At the beginning of January, we merged the support to subpackages in the
framework.
Subpackage is the feature to create multiple packages from one build of
one port. In other words, now it's possible to group files into multiple
packages. This means that from one port it's possible to split the build
into several packages.
Some additional details are available in this lighting talk at EuroBSD
2023 (https://youtu.be/e-FUYbGNdBg?t=824
<https://youtu.be/e-FUYbGNdBg?t=824>).
*Use cases we want to tackle*
The first use case we want to get rid of is master/slave ports when
slave ports could be built with the master port.
An example (already merged) is https://reviews.freebsd.org/D43445
<https://reviews.freebsd.org/D43445>: devel/appstream will create also
the -compose and -qt6 binaries as subpackage in one build.
I'm glad to see this feature. It seems ideal for ports like MySQL /
MariaDB / PostgreSQL where the -client or -contrib port is just a slave
Makefile of -server and if you need to install server, you need client
installed too.
Thank you for the work on it.
Kind regards
Miroslav Lachman