From db86cdb3f7428686e393a89207d3006dd9cfd3f1 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Wed, 8 Mar 2017 01:40:15 +0200 Subject: [PATCH] dovecot: change LDAP select logic Signed-off-by: Lucian Cristian --- mail/dovecot/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index aad6e6853..fdc5dfbe1 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -56,15 +56,8 @@ CONFIGURE_ARGS += \ --with-notify=dnotify \ --without-lzma \ --without-lz4 \ - --with-icu=no - -ifneq ($(strip $(CONFIG_DOVECOT_LDAP)),) - CONFIGURE_ARGS+= \ - --with-ldap=yes -else - CONFIGURE_ARGS+= \ - --with-ldap=no -endif + --with-icu=no \ + $(if $(CONFIG_DOVECOT_LDAP),--with-ldap=yes,--with-ldap=no) CONFIGURE_VARS += \ RPCGEN= \