* Daniel Engberg wrote: > On 2026-01-13 19:58, Christian Ullrich wrote: >> * Tijl Coosemans wrote: >> >>> On Mon, 12 Jan 2026 19:44:41 +0000 Christian Ullrich wrote:
>>>> What I would like to do is either not offer the option at all or, if >>>> that is not possible, IGNORE if the GSSAPI_BASE option is set and the >>>> system does not have MIT Kerberos in base (OSVERSION < 1500054). >>> To exclude entire major versions you can use: >>> >>> OPTIONS_EXCLUDE_FreeBSD_13= GSSAPI_BASE >>> OPTIONS_EXCLUDE_FreeBSD_14= GSSAPI_BASE >> This works, but the error is too cryptic. It just says none of the >> OPTIONS_SINGLE options was selected when really the selected one is gone. > ..expanded variant of this approach. > https://github.com/diizzyy/ports-overlay/blob/main/ftp/curl/Makefile#L44 That's even nicer, but I think it's overkill. On 15 at least there is an up-to-date OpenSSL in base, so SSL_DEFAULT may well be base even if ports MIT is in use. My systems at least still have WITHOUT_KERBEROS set, left over from the Heimdal days. Thank you for the further inspiration, and particularly the detail that OPSYS etc. can be used in variable names even when they are not yet available for conditionals. -- Christian
