public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/hepmc/
Date: Sun, 14 Oct 2018 19:04:43 +0000 (UTC)	[thread overview]
Message-ID: <1539543872.6aa7338ed80e5c917c230094dda7bab631b2778a.asturm@gentoo> (raw)

commit:     6aa7338ed80e5c917c230094dda7bab631b2778a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 14 18:45:05 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 14 19:04:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa7338e

sci-physics/hepmc: Add several missing || die

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-physics/hepmc/hepmc-2.06.09-r1.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild b/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild
index fd54fa2fd8a..85f83c7019a 100644
--- a/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild
+++ b/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild
@@ -33,7 +33,7 @@ DOCS=( ChangeLog AUTHORS )
 src_prepare() {
 	cmake-utils_src_prepare
 
-	sed -i -e '/add_subdirectory(doc)/d' CMakeLists.txt
+	sed -i -e '/add_subdirectory(doc)/d' CMakeLists.txt || die
 	# CMake doc building broken
 	# gentoo doc directory
 	#sed -i \
@@ -56,8 +56,12 @@ src_prepare() {
 		{src,fio}/CMakeLists.txt || die
 
 	# remove targets if use flags not set
-	use examples || sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt
-	use test || sed -i -e '/add_subdirectory(test)/d' CMakeLists.txt
+	if ! use examples; then
+		sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt || die
+	fi
+	if ! use test; then
+		sed -i -e '/add_subdirectory(test)/d' CMakeLists.txt || die
+	fi
 	if ! use static-libs; then
 		sed -i \
 			-e '/(HepMC\(fio\|\)S/d' \


             reply	other threads:[~2018-10-14 19:04 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-14 19:04 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-14  8:58 [gentoo-commits] repo/gentoo:master commit in: sci-physics/hepmc/ Nowa Ammerlaan
2024-12-03  8:54 Nowa Ammerlaan
2024-11-28 15:19 Nowa Ammerlaan
2024-06-20 11:22 Andrew Ammerlaan
2024-04-12 16:57 Andrew Ammerlaan
2024-03-15 14:17 Andrew Ammerlaan
2024-03-08  9:03 Guilherme Amadio
2024-03-08  9:03 Guilherme Amadio
2023-12-11 14:12 Andrew Ammerlaan
2023-06-09 15:06 Arthur Zamarin
2023-05-04  2:31 Sam James
2023-05-03 22:09 Sam James
2023-05-02 11:54 Andrew Ammerlaan
2023-05-02 11:54 Andrew Ammerlaan
2023-05-02 11:54 Andrew Ammerlaan
2023-02-25 22:23 Sam James
2023-02-25 22:23 Sam James
2022-12-11 17:55 Arthur Zamarin
2022-08-26 11:13 Andrew Ammerlaan
2022-08-26 11:13 Andrew Ammerlaan
2022-08-26 11:13 Andrew Ammerlaan
2022-03-05 21:40 David Seifert
2020-07-24 11:10 Ulrich Müller
2018-10-14 19:04 Andreas Sturmlechner
2018-10-14 19:04 Andreas Sturmlechner
2018-10-14 19:04 Andreas Sturmlechner
2017-10-16  3:34 David Seifert
2016-11-13  9:39 David Seifert
2015-11-11  9:12 Agostino Sarubbo
2015-11-06 11:59 José María Alonso

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=1539543872.6aa7338ed80e5c917c230094dda7bab631b2778a.asturm@gentoo \
    --to=asturm@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