diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2016-07-01 17:53:05 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-07-01 19:31:36 -0400 |
commit | ce92b12a18de101035723bf6b7714e29b2a60247 (patch) | |
tree | 8b9f0eb49735757d5445eb106038b328152b9644 /eclass | |
parent | app-admin/systemrescuecd-x86: Bump to 4.8.0 (diff) | |
download | gentoo-ce92b12a18de101035723bf6b7714e29b2a60247.tar.gz gentoo-ce92b12a18de101035723bf6b7714e29b2a60247.tar.bz2 gentoo-ce92b12a18de101035723bf6b7714e29b2a60247.zip |
Bugfix: libbitcoinconsensus depends on univalue/boost only with USE=test
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/bitcoincore.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/bitcoincore.eclass b/eclass/bitcoincore.eclass index c040c3435bd7..7022117ff33f 100644 --- a/eclass/bitcoincore.eclass +++ b/eclass/bitcoincore.eclass @@ -198,7 +198,14 @@ fi if [ "${BITCOINCORE_NEED_LIBSECP256K1}" = "1" ]; then BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND} $LIBSECP256K1_DEPEND" fi -if [ "${PN}" != "libbitcoinconsensus" ]; then +if [ "${PN}" = "libbitcoinconsensus" ]; then + BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND} + test? ( + ${UNIVALUE_DEPEND} + >=dev-libs/boost-1.52.0[threads(+)] + ) + " +else BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND} ${UNIVALUE_DEPEND} >=dev-libs/boost-1.52.0[threads(+)] |