commit:     38efa2c2467ca42c5417f6a58fe176083128523d
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Sun Dec 11 19:38:52 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 23:34:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38efa2c2

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

Closes: https://github.com/gentoo/gentoo/pull/3091

 net-mail/dbmail/dbmail-3.2.3-r1.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-mail/dbmail/dbmail-3.2.3-r1.ebuild 
b/net-mail/dbmail/dbmail-3.2.3-r1.ebuild
index 9e5eb8f..dd7e68c 100644
--- a/net-mail/dbmail/dbmail-3.2.3-r1.ebuild
+++ b/net-mail/dbmail/dbmail-3.2.3-r1.ebuild
@@ -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() {

Reply via email to