The OpenLDAP ebuild has hardcoded CFLAGS which break when the Kerberos prefix is changed. krb5-config or krb4-config should be used instead. Reproducible: Always Steps to Reproduce:
Created attachment 125804 [details] openldap-2.3.36.ebuild This ebuild hardcodes the use of krb5-config; it's just an example. Something cleaner should be done.
Unified diff, please.
Created attachment 125837 [details] openldap-2.3.36.diff Unified diff. Doesn't check whether krb5-config is present or applicable.
Reopening.
Ok, I banged it onto 2.3.43-r1 and 2.4.11-r1. Please test and report back, since I have no kerberos systems at all.