net-libs/gnutls: remove cc dependency and replace EROOT
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 24 Feb 2017 06:31:18 +0000 (08:31 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 24 Feb 2017 06:31:46 +0000 (08:31 +0200)
Bug: 610742

Package-Manager: portage-2.3.3

net-libs/gnutls/gnutls-3.5.9-r2.ebuild

index 76ab5f1410e6814bef61944e181e95ead690a8ce..4fa642edb2380b43bb8b4c2c891cc67e18dfd431 100644 (file)
@@ -47,10 +47,6 @@ RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}]
 DEPEND="${RDEPEND}
        >=sys-devel/automake-1.11.6
        >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
-       || (
-               sys-devel/gcc[cxx?]
-               sys-devel/clang[${MULTILIB_USEDEP}]
-       )
        doc? ( dev-util/gtk-doc )
        nls? ( sys-devel/gettext )
        test? ( app-misc/datefudge )"
@@ -123,7 +119,7 @@ multilib_src_configure() {
                $(use_with idn) \
                $(use_with idn libidn2) \
                --without-tpm \
-               --with-unbound-root-key-file="${EROOT}etc/dnssec/root-anchors.txt" \
+               --with-unbound-root-key-file="${EPREFIX}etc/dnssec/root-anchors.txt" \
                "${libconf[@]}" \
                $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
 }