Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
11 lines
240 B
Makefile
11 lines
240 B
Makefile
PKGNAMESUFFIX= -ldapdb
|
|
|
|
COMMENT= SASL LDAPDB auxprop plugin
|
|
WWW= https://www.cyrusimap.org/sasl/
|
|
|
|
CYRUS_CONFIGURE_ARGS= --enable-ldapdb --with-ldap=${LOCALBASE}
|
|
|
|
USES= ldap
|
|
|
|
.include "${.CURDIR}/../../security/cyrus-sasl2/Makefile.common"
|