public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbase58/
Date: Mon,  5 Oct 2020 05:46:58 +0000 (UTC)	[thread overview]
Message-ID: <1601876808.085cfe1e5e62f8c5d3836bec5ac3f0b8af8d05c9.juippis@gentoo> (raw)

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
 }


             reply	other threads:[~2020-10-05  5:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-05  5:46 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-25 12:54 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbase58/ Joonas Niilola
2024-08-25 15:24 Andreas K. Hüttel
2023-01-28 20:18 Michał Górny
2022-10-28 18:50 Sam James
2021-02-25 19:07 Sam James
2021-02-24 23:44 Sam James
2021-02-24 23:37 Sam James
2021-02-20 18:54 Thomas Deutschmann
2021-01-09 10:36 Sam James
2020-10-05 14:32 Joonas Niilola
2020-10-05 14:24 Joonas Niilola
2020-10-05  5:46 Joonas Niilola
2020-07-19 23:54 Sam James
2017-12-17  3:06 Anthony G. Basile
2017-12-17  3:06 Anthony G. Basile
2017-08-10 13:19 Anthony G. Basile
2017-06-03 13:39 Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601876808.085cfe1e5e62f8c5d3836bec5ac3f0b8af8d05c9.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox