bitcoincore.eclass: remove use_if_iuse in global scope, bug #582202
authorAnthony G. Basile <blueness@gentoo.org>
Wed, 25 May 2016 12:23:37 +0000 (08:23 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Wed, 25 May 2016 12:23:45 +0000 (08:23 -0400)
eclass/bitcoincore.eclass

index 5661cb03e924687690201345dc342beb64c23189..c040c3435bd731a678ed31d29c5c654f20bece3c 100644 (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(+)]