summaryrefslogtreecommitdiff
path: root/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild')
-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
}