Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/scalapack/
Date: Mon, 15 Oct 2018 22:08:14
Message-Id: 1539641244.8d6ed30ecbb830f5c40be33b4968253756ec188e.asturm@gentoo
1 commit: 8d6ed30ecbb830f5c40be33b4968253756ec188e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 15 21:40:08 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 15 22:07:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d6ed30e
7
8 sci-libs/scalapack: Missing || die
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sci-libs/scalapack/scalapack-2.0.2.ebuild | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2.ebuild
17 index 63623ecfac8..6eca44f0363 100644
18 --- a/sci-libs/scalapack/scalapack-2.0.2.ebuild
19 +++ b/sci-libs/scalapack/scalapack-2.0.2.ebuild
20 @@ -23,7 +23,9 @@ DEPEND="${RDEPEND}
21 src_prepare() {
22 cmake-utils_src_prepare
23
24 - use static-libs && mkdir "${WORKDIR}/${PN}_static"
25 + if use static-libs; then
26 + mkdir "${WORKDIR}/${PN}_static" || die
27 + fi
28 # mpi does not have a pc file
29 sed -i -e 's/mpi//' scalapack.pc.in || die
30 }