Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 01 Jul 2016 23:28:51
Message-Id: 1467415896.ce92b12a18de101035723bf6b7714e29b2a60247.blueness@gentoo
1 commit: ce92b12a18de101035723bf6b7714e29b2a60247
2 Author: Luke Dashjr <luke-jr+git <AT> utopios <DOT> org>
3 AuthorDate: Fri Jul 1 17:53:05 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 1 23:31:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce92b12a
7
8 Bugfix: libbitcoinconsensus depends on univalue/boost only with USE=test
9
10 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
11
12 eclass/bitcoincore.eclass | 9 ++++++++-
13 1 file changed, 8 insertions(+), 1 deletion(-)
14
15 diff --git a/eclass/bitcoincore.eclass b/eclass/bitcoincore.eclass
16 index c040c34..7022117 100644
17 --- a/eclass/bitcoincore.eclass
18 +++ b/eclass/bitcoincore.eclass
19 @@ -198,7 +198,14 @@ fi
20 if [ "${BITCOINCORE_NEED_LIBSECP256K1}" = "1" ]; then
21 BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND} $LIBSECP256K1_DEPEND"
22 fi
23 -if [ "${PN}" != "libbitcoinconsensus" ]; then
24 +if [ "${PN}" = "libbitcoinconsensus" ]; then
25 + BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND}
26 + test? (
27 + ${UNIVALUE_DEPEND}
28 + >=dev-libs/boost-1.52.0[threads(+)]
29 + )
30 + "
31 +else
32 BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND}
33 ${UNIVALUE_DEPEND}
34 >=dev-libs/boost-1.52.0[threads(+)]