cyrus-sasl dependency in bsd.ldap.mk

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Mon, 08 Nov 2021 13:39:01 UTC
Hi Delphij,

you seem to be the most active in bsd.ldap.mk :-)

I’ve found that since openldap-client also depends on cyrus-sasl unconditionally, bsd.ldap.mk requires this:

otis@b13:/usr/ports/Mk % git diff -- bsd.ldap.mk
diff --git a/Mk/bsd.ldap.mk b/Mk/bsd.ldap.mk
index a6f37dd99b10..7acbc9c660bb 100644
--- a/Mk/bsd.ldap.mk
+++ b/Mk/bsd.ldap.mk
@@ -77,6 +77,7 @@ IGNORE=               cannot install: doesn't work with OpenLDAP version: ${OPENLDAP_VER} (Do
 .      endfor
 .endif # IGNORE_WITH_OPENLDAP
 LIB_DEPENDS+=  ${OPENLDAP${OPENLDAP_VER}_LIB}:net/openldap${OPENLDAP_VER}-client
+LIB_DEPENDS+=  libsasl2.so:security/cyrus-sasl2
 .else
 IGNORE=                cannot install: unknown OpenLDAP version: ${OPENLDAP_VER}
 .endif # Check for correct libs

What are you thought about it?

Thanks
otis

—
Juraj Lutter
otis@FreeBSD.org