commit:     7f267088defda72c12be777dfa69242f79575e4f
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 17:52:00 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed May 11 17:52:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f267088

net-fs/netatalk: simplify configure a bit

Newer EAPI handles the silent rules for us.

The REQUIRED_USE settings handles the acl/ldap logic,
so no need to duplicate the checks.

 net-fs/netatalk/netatalk-3.1.8.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/net-fs/netatalk/netatalk-3.1.8.ebuild 
b/net-fs/netatalk/netatalk-3.1.8.ebuild
index 41d2c5e..3416b1c 100644
--- a/net-fs/netatalk/netatalk-3.1.8.ebuild
+++ b/net-fs/netatalk/netatalk-3.1.8.ebuild
@@ -75,18 +75,11 @@ src_configure() {
 
        append-flags -fno-strict-aliasing
 
-       if use acl; then
-               myeconfargs+=( --with-acls $(use_with ldap) )
-       else
-               myeconfargs+=( --without-acls --without-ldap )
-       fi
-
        # Ignore --with-init-style=gentoo, we install the init.d by hand and we 
avoid having
        # to sed the Makefiles to not do rc-update.
        # TODO:
        # systemd : --with-init-style=systemd
        myeconfargs+=(
-               --disable-silent-rules
                $(use_enable avahi zeroconf)
                $(use_enable debug)
                $(use_enable debug debugging)
@@ -95,8 +88,10 @@ src_configure() {
                $(use_enable kerberos krbV-uam)
                $(use_enable quota)
                $(use_enable tcpd tcp-wrappers)
+               $(use_with acl acls)
                $(use_with cracklib)
                $(use_with dbus afpstats)
+               $(use_with ldap)
                $(use_with pam)
                $(use_with samba smbsharemodes)
                $(use_with shadow)

Reply via email to