From: Lucian Cristian Date: Tue, 7 Mar 2017 23:40:15 +0000 (+0200) Subject: dovecot: change LDAP select logic X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=db86cdb3f7428686e393a89207d3006dd9cfd3f1;p=openwrt-packages.git dovecot: change LDAP select logic Signed-off-by: Lucian Cristian --- 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= \