This is two commits. One to create krb5-{client, libs, server, samples} meta ports and the second to add support for these new meta ports to Uses/gssapi.mk.
The first commit to security/krb5*:
security/krb5*: Client, libs, and server meta ports
This commit creates a virtual split of the krb5 series of ports into
a libraries meta port (libs), client meta port (client), and server
meta port (server).
We build the entire krb5, removing the files not needed for individual
meta ports. This avoids having to build and maintain a complex set of
patches (which would certainly change from version to version) and it
avoids having to create our own build system.
Users can still build/install security/krb5 or security/krb5-121 to
install the entire krb5 port/package. Or users may install one or
more of the client, libs, and/or server meta ports.
This change does not affect the older security/krb5-120, scheduled for
deprecation.
The second commit to Uses/gssapi.mk:
Mk/Uses/gssapi.mk: Add support for krb5-client and krb5-libs
With the recent addition of client, libs, samples, and server
metaports, add support to allow ports to depend on krb5-libs or
krb5-client.
PR: 284709