aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2016-07-01 10:46:19 +0800
committeradamw <adamw@FreeBSD.org>2016-07-01 10:46:19 +0800
commitc91a4fc5ff80231068e5cbe41f52d1b5fb9e22b8 (patch)
tree3c020c5cd49220bd1c61e0c59bf32115bc8ec456 /mail
parentc727d7672b31de97ce3e97957d637c6d51a20c99 (diff)
downloadfreebsd-ports-gnome-c91a4fc5ff80231068e5cbe41f52d1b5fb9e22b8.tar.gz
freebsd-ports-gnome-c91a4fc5ff80231068e5cbe41f52d1b5fb9e22b8.tar.zst
freebsd-ports-gnome-c91a4fc5ff80231068e5cbe41f52d1b5fb9e22b8.zip
Add an LDAP option.
PR: 210733 Submitted by: jhujhiti at adjectivism dot org Approved by: maintainer (Larry Rosenman)
Diffstat (limited to 'mail')
-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: