Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
Date: Sat, 14 May 2022 21:30:44
Message-Id: 1652563822.0307b6b0f8a436273160af04404a38fd31ef89d1.soap@gentoo
1 commit: 0307b6b0f8a436273160af04404a38fd31ef89d1
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 14 21:30:22 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat May 14 21:30:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0307b6b0
7
8 sci-libs/ginkgo: [QA] tc-has-openmp → tc-check-openmp
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild | 11 ++++++-----
13 1 file changed, 6 insertions(+), 5 deletions(-)
14
15 diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
16 index 5092a73a706d..abd270c911c4 100644
17 --- a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
18 +++ b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=8
25 @@ -26,11 +26,12 @@ RDEPEND="
26 "
27 DEPEND="${RDEPEND}"
28
29 +pkg_pretend() {
30 + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
31 +}
32 +
33 pkg_setup() {
34 - if [[ ${MERGE_TYPE} != binary ]] && \
35 - use openmp && ! tc-has-openmp ; then
36 - die "Need an OpenMP capable compiler"
37 - fi
38 + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
39 }
40
41 src_prepare() {