bitcoincore.eclass: remove use_if_iuse in global scope, bug #582202

This commit is contained in:
Anthony G. Basile
2016-05-25 08:23:37 -04:00
parent b8219c084d
commit bdd8876e01

View File

@@ -198,7 +198,7 @@ fi
if [ "${BITCOINCORE_NEED_LIBSECP256K1}" = "1" ]; then
BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND} $LIBSECP256K1_DEPEND"
fi
if [ "${PN}" != "libbitcoinconsensus" ] && ! use_if_iuse test; then
if [ "${PN}" != "libbitcoinconsensus" ]; then
BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND}
${UNIVALUE_DEPEND}
>=dev-libs/boost-1.52.0[threads(+)]