sys-auth/nss-mdns: Pass --enable/--disable-tests explicitly
authorMichał Górny <mgorny@gentoo.org>
Mon, 19 Feb 2018 15:25:42 +0000 (16:25 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 19 Feb 2018 15:27:56 +0000 (16:27 +0100)
Upstream now enables tests by default and the configure script fails
if dev-libs/check is not present. Pass --enable/--disable-tests
appropriately to control the dependency check.

sys-auth/nss-mdns/nss-mdns-9999.ebuild

index 8ba258c79895d79c75bfbd5336cc1a8248516f98..ddafab3e345eed2835d1d22f19df15e59278cf0f 100644 (file)
@@ -28,6 +28,8 @@ multilib_src_configure() {
        local myconf=(
                # $(localstatedir)/run/... is used to locate avahi-daemon socket
                --localstatedir=/var
+
+               $(use_enable test tests)
        )
 
        ECONF_SOURCE=${S} \