svn commit: r417860 - head/mail/dovecot2-pigeonhole

Adam Weinberger adamw at FreeBSD.org
Fri Jul 1 02:46:21 UTC 2016


Author: adamw
Date: Fri Jul  1 02:46:19 2016
New Revision: 417860
URL: https://svnweb.freebsd.org/changeset/ports/417860

Log:
  Add an LDAP option.
  
  PR:		210733
  Submitted by:	jhujhiti at adjectivism dot org
  Approved by:	maintainer (Larry Rosenman)

Modified:
  head/mail/dovecot2-pigeonhole/Makefile

Modified: head/mail/dovecot2-pigeonhole/Makefile
==============================================================================
--- head/mail/dovecot2-pigeonhole/Makefile	Fri Jul  1 02:10:43 2016	(r417859)
+++ head/mail/dovecot2-pigeonhole/Makefile	Fri Jul  1 02:46:19 2016	(r417860)
@@ -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:


More information about the svn-ports-all mailing list