1 |
commit: ee0173be9a357e05a3d50108752dbb5ee47cd3c7 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 14 21:30:15 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 14 21:30:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee0173be |
7 |
|
8 |
media-gfx/rawtherapee: [QA] tc-has-openmp → tc-check-openmp |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 8 +++++--- |
13 |
media-gfx/rawtherapee/rawtherapee-5.8.ebuild | 10 ++++++---- |
14 |
2 files changed, 11 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild |
17 |
index ea59ec8cbd19..6bc9d3808b2d 100644 |
18 |
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild |
19 |
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild |
20 |
@@ -47,9 +47,11 @@ PATCHES=( |
21 |
) |
22 |
|
23 |
pkg_pretend() { |
24 |
- if use openmp ; then |
25 |
- tc-has-openmp || die "Please switch to an openmp compatible compiler" |
26 |
- fi |
27 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
28 |
+} |
29 |
+ |
30 |
+pkg_setup() { |
31 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
32 |
} |
33 |
|
34 |
src_configure() { |
35 |
|
36 |
diff --git a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild |
37 |
index ef4b8c6fd287..9df073266f82 100644 |
38 |
--- a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild |
39 |
+++ b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild |
40 |
@@ -1,4 +1,4 @@ |
41 |
-# Copyright 1999-2020 Gentoo Authors |
42 |
+# Copyright 1999-2022 Gentoo Authors |
43 |
# Distributed under the terms of the GNU General Public License v2 |
44 |
|
45 |
EAPI=7 |
46 |
@@ -37,9 +37,11 @@ BDEPEND="virtual/pkgconfig" |
47 |
S="${WORKDIR}/${MY_P}" |
48 |
|
49 |
pkg_pretend() { |
50 |
- if use openmp ; then |
51 |
- tc-has-openmp || die "Please switch to an openmp compatible compiler" |
52 |
- fi |
53 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
54 |
+} |
55 |
+ |
56 |
+pkg_setup() { |
57 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
58 |
} |
59 |
|
60 |
src_configure() { |