net-fs/netatalk: simplify configure a bit
authorMike Frysinger <vapier@gentoo.org>
Wed, 11 May 2016 17:52:00 +0000 (13:52 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 11 May 2016 17:52:57 +0000 (13:52 -0400)
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

index 41d2c5e84018e3abbda89a3f7b59837864cbda0b..3416b1c570e089105e8ba7a67522e91e0c4d5193 100644 (file)
@@ -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)