From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 873BA138334 for ; Sun, 14 Oct 2018 19:04:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AEECE07B3; Sun, 14 Oct 2018 19:04:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 156E2E077F for ; Sun, 14 Oct 2018 19:04:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65292335CD2 for ; Sun, 14 Oct 2018 19:04:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A00E439 for ; Sun, 14 Oct 2018 19:04:43 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1539543872.6aa7338ed80e5c917c230094dda7bab631b2778a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/hepmc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/hepmc/hepmc-2.06.09-r1.ebuild X-VCS-Directories: sci-physics/hepmc/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 6aa7338ed80e5c917c230094dda7bab631b2778a X-VCS-Branch: master Date: Sun, 14 Oct 2018 19:04:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9a5ad844-1b19-405f-beb6-37406e94d791 X-Archives-Hash: 9db1d4fa6451b8c06b0282c90ca94eff commit: 6aa7338ed80e5c917c230094dda7bab631b2778a Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Oct 14 18:45:05 2018 +0000 Commit: Andreas Sturmlechner gentoo 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 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' \