summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Whitlock <gentoo@mattwhitlock.name>2023-12-12 16:25:56 -0500
committerFlorian Schmaus <flow@gentoo.org>2023-12-13 08:46:39 +0100
commit05a44653f0cb459b22349e4b15c447ac70bf09be (patch)
tree98594d8883281c86313a048fd819c6096ecccc07
parentmail-mta/postfix: add 3.9_pre20231212, drop 3.9_pre20231210 (diff)
downloadgentoo-05a44653f0cb459b22349e4b15c447ac70bf09be.tar.gz
gentoo-05a44653f0cb459b22349e4b15c447ac70bf09be.tar.bz2
gentoo-05a44653f0cb459b22349e4b15c447ac70bf09be.zip
net-p2p/bitcoin-core: fix build failure when USE="-daemon"
Regenerating the example bitcoin.conf doesn't work when we didn't build bitcoind. No revbump required since it was not possible to complete a build in the affected configurations. Closes: https://bugs.gentoo.org/919772 Signed-off-by: Matt Whitlock <gentoo@mattwhitlock.name> Closes: https://github.com/gentoo/gentoo/pull/34255 Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild b/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild
index 6bdeaa1317a6..4e37d3fc4059 100644
--- a/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild
+++ b/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild
@@ -194,7 +194,9 @@ src_configure() {
src_compile() {
default
- tc-is-cross-compiler || TOPDIR="${S}" bash contrib/devtools/gen-bitcoin-conf.sh || die
+ if use daemon && ! tc-is-cross-compiler ; then
+ TOPDIR="${S}" bash contrib/devtools/gen-bitcoin-conf.sh || die
+ fi
sed -e 's/ To use, copy this file$//p;Tp;:0;n;/save the file\.$/!b0;d;:p;p' \
-ni share/examples/bitcoin.conf || die
}