Package-Manager: portage-2.3.3
# 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
$(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)
}