Add support for OpenLDAP22.

PR:		ports/53932
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
This commit is contained in:
Hajimu UMEMOTO 2003-07-03 19:07:18 +00:00
parent 2a46b1b07b
commit af4a2810c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84168

View file

@ -59,12 +59,13 @@ CONFIGURE_ARGS+=--with-dblib=ndbm
.endif
.if defined(WITH_OPENLDAP_VER)
.if ${WITH_OPENLDAP_VER} == 20 || ${WITH_OPENLDAP_VER} == 21
.if ${WITH_OPENLDAP_VER} == 20 || ${WITH_OPENLDAP_VER} == 21 || \
${WITH_OPENLDAP_VER} == 22
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}
CONFIGURE_ARGS+=--with-ldap=${PREFIX}
.else
BROKEN= "WITH_OPENLDAP_VER must be 20 or 21"
BROKEN= "WITH_OPENLDAP_VER must be 20, 21 or 22"
.endif
.endif