commit: 085cfe1e5e62f8c5d3836bec5ac3f0b8af8d05c9
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 5 05:38:46 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 5 05:46:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=085cfe1e
dev-libs/libbase58: conditionalize 'rm' in 0.1.4
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/libbase58/libbase58-0.1.4-r1.ebuild | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild
b/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild
index 6d58a9ccec7..3cdcfde18b5 100644
--- a/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild
+++ b/dev-libs/libbase58/libbase58-0.1.4-r1.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit autotools multilib-minimal
DESCRIPTION="C implementation of Bitcoin's base58 encoding"
@@ -24,7 +25,8 @@ src_prepare() {
eapply_user
eautoreconf
- # NOTE: Needed because test suite uses srcdir instead of builddir to
set PATH
+ # NOTE: Needed because test suite uses srcdir instead of builddir to
set PATH and for
+ # multilib support.
multilib_copy_sources
}
@@ -44,5 +46,7 @@ multilib_src_configure() {
}
multilib_src_install_all() {
- rm -rf "${ED}/TRASH" || die
+ if use test; then
+ rm -r "${ED}/TRASH" || die
+ fi
}