net-mail/dbmail: replace local myconf with use_with ldap.

Closes: https://github.com/gentoo/gentoo/pull/3091
This commit is contained in:
Chris Mayo
2016-12-11 19:38:52 +00:00
committed by Patrice Clement
parent ff23024887
commit 38efa2c246

View File

@@ -36,15 +36,12 @@ pkg_setup() {
}
src_configure() {
local myconf=""
use ldap && myconf=${myconf}" --with-auth-ldap"
econf \
--enable-manpages \
--sysconfdir=/etc/dbmail \
$(use_enable static) \
$(use_with sieve) \
${myconf}
$(use_with ldap auth-ldap)
}
src_install() {