summaryrefslogtreecommitdiff
path: root/mail/courier/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/courier/Makefile')
-rw-r--r--mail/courier/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/courier/Makefile b/mail/courier/Makefile
index 45e36b3a803e..c47d70c00adf 100644
--- a/mail/courier/Makefile
+++ b/mail/courier/Makefile
@@ -138,7 +138,7 @@ PERIODIC_DESC= modify/create periodic.conf
.include "${.CURDIR}/Makefile.own"
.if ${PORT_OPTIONS:MLDAP}
-USE_OPENLDAP= yes
+USES+= ldap
WITH_AUTH_LDAP= yes
RUN_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthldap.so:net/courier-authlib-ldap
CONFIGURE_ARGS+=--with-ldapaliasd