Add an LDAP option.

PR:		210733
Submitted by:	jhujhiti at adjectivism dot org
Approved by:	maintainer (Larry Rosenman)
This commit is contained in:
Adam Weinberger 2016-07-01 02:46:19 +00:00
parent 76387b4ab3
commit fd01536344
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417860

View File

@ -28,13 +28,18 @@ USES= libtool
USE_LDCONFIG= ${PREFIX}/lib/dovecot
USE_OPENSSL= yes
OPTIONS_DEFINE= DOCS MANAGESIEVE
OPTIONS_DEFINE= DOCS LDAP MANAGESIEVE
OPTIONS_DEFAULT=MANAGESIEVE
OPTIONS_SUB= yes
MANAGESIEVE_DESC= ManageSieve support
MANAGESIEVE_CONFIGURE_WITH= managesieve
LDAP_CONFIGURE_WITH= ldap
LDAP_CPPFLAGS= -I${LOCALBASE}/include
LDAP_LDFLAGS= -L${LOCALBASE}/lib
LDAP_USE= OPENLDAP=yes
PORTDOCS= sieve/extensions/* sieve/plugins/* sieve/locations/*
post-patch: