USE_OPENLDAP and WITH_LDAP are inverted. Fix them and remove the second useless 'if'.
Responsible Changed From-To: freebsd-ports-bugs->kuriyama Over to maintainer.
Adding to audit trail from misfiled PR ports/59161 by kuriyama-san: It looks your patch simplify better. But I cannot understand what is inverted around here...
And from yet another marooned followup by sysadmin@alexdupre.com: A user shouldn't define USE_OPENLDAP. If he wants ldap support and hasn't openldap-client he should define WITH_LDAP, otherwise the openldap dependency cannot be built, since in the openldap Makefile there is: .if defined(USE_OPENLDAP) .error You have `USE_OPENLDAP' defined either in your environment or in make(1) arguments. .endif
State Changed From-To: open->closed Ah, understood. Thanks, committed!