net-libs/gnutls: tiny cleanup
authorAlon Bar-Lev <alonbl@gentoo.org>
Sun, 12 Feb 2017 20:44:05 +0000 (22:44 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sun, 12 Feb 2017 20:44:19 +0000 (22:44 +0200)
Package-Manager: portage-2.3.3

net-libs/gnutls/gnutls-3.5.9.ebuild

index a711c9b2f1ebd9c5ed7f2a0731bf39c396ea2748..e5a9708b99072792129ffaf6b70113ff2f4224ad 100644 (file)
@@ -104,7 +104,7 @@ multilib_src_configure() {
 
        # remove magic of library detection
        # bug#438222
-       libconf=($("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g'))
+       local libconf=($("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g'))
 
        # TPM needs to be tested before being enabled
        # hardware-accell is disabled on OSX because the asm files force
@@ -131,7 +131,7 @@ multilib_src_configure() {
                $(use_with zlib) \
                $(use_with idn) \
                --without-tpm \
-               --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
+               --with-unbound-root-key-file="${EROOT}etc/dnssec/root-anchors.txt" \
                "${libconf[@]}" \
                $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
 }