aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot2-pigeonhole
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2016-07-01 02:46:19 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2016-07-01 02:46:19 +0000
commitfd0153634446ba5edd6279aa2ffaeca30ef897e5 (patch)
tree3c020c5cd49220bd1c61e0c59bf32115bc8ec456 /mail/dovecot2-pigeonhole
parent76387b4ab3285c6b4a2eafa53db1b5119fe03469 (diff)
downloadports-fd0153634446ba5edd6279aa2ffaeca30ef897e5.tar.gz
ports-fd0153634446ba5edd6279aa2ffaeca30ef897e5.zip
Add an LDAP option.
PR: 210733 Submitted by: jhujhiti at adjectivism dot org Approved by: maintainer (Larry Rosenman)
Notes
Notes: svn path=/head/; revision=417860
Diffstat (limited to 'mail/dovecot2-pigeonhole')
-rw-r--r--mail/dovecot2-pigeonhole/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/dovecot2-pigeonhole/Makefile b/mail/dovecot2-pigeonhole/Makefile
index 1b591a0aac9d..64cecff983d3 100644
--- a/mail/dovecot2-pigeonhole/Makefile
+++ b/mail/dovecot2-pigeonhole/Makefile
@@ -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: