(libcurl requires a vanished "libkrb5.so.122") I'm going to snip all the context, but I'll note that I got myself into the same pickle and solved it by *temporarily* diking GSSAPI support entirely out of libcurl, building and installing that, then building Git with the resulting libcurl, then using Git to update the ports tree to pick up the Mk/Uses/ updates.
To do that, go to /usr/ports/ftp/curl and hack out the GSSAPI selection. It's probably better to just grab the actual fix from commit d30d5dfae517a74a4a9e2a22e1cf110594bcb43d, which I've pasted below, but whitespace will probably be messed-up. (gmail is not very patch-friendly) That's not how I did it, but probably better... Chris commit d30d5dfae517a74a4a9e2a22e1cf110594bcb43d Author: Lexi Winter <[email protected]> Date: Mon Aug 11 13:10:47 2025 +0100 Uses/gssapi.mk: Improve base Kerberos detection We can't check for /usr/libexec/krb5kdc to determine if base uses MIT Kerberos, because this is part of the kerberos-kdc package and might not be installed. Instead, pick a pkgconfig file which is only installed with MIT: /usr/libdata/pkgconfig/mit-krb5.pc. Reviewed by: des, cy Approved by: cy (ports) Differential Revision: https://reviews.freebsd.org/D51841 diff --git a/Mk/Uses/gssapi.mk b/Mk/Uses/gssapi.mk index 36fb72326868..b419a8fe27ff 100644 --- a/Mk/Uses/gssapi.mk +++ b/Mk/Uses/gssapi.mk @@ -86,7 +86,7 @@ _local:= ${_A} . if ${SSL_DEFAULT} != base IGNORE= You are using OpenSSL from ports and have selected GSSAPI from base, please select another GSSAPI value . endif -. if exists(/usr/libexec/krb5kdc) +. if exists(/usr/libdata/pkgconfig/mit-krb5.pc) # Base has MIT KRB5 installed KRB5_HOME?= /usr GSSAPIBASEDIR= ${KRB5_HOME}
