1 |
commit: 09bbbebeb57fd901c169b92f7333b931dd74b303 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 14 21:30:09 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 14 21:30:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bbbebe |
7 |
|
8 |
media-gfx/gmic: [QA] tc-has-openmp → tc-check-openmp |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
media-gfx/gmic/gmic-3.0.1-r1.ebuild | 10 +++++----- |
13 |
1 file changed, 5 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/media-gfx/gmic/gmic-3.0.1-r1.ebuild b/media-gfx/gmic/gmic-3.0.1-r1.ebuild |
16 |
index 997f0d677392..a9cf822de4db 100644 |
17 |
--- a/media-gfx/gmic/gmic-3.0.1-r1.ebuild |
18 |
+++ b/media-gfx/gmic/gmic-3.0.1-r1.ebuild |
19 |
@@ -68,11 +68,11 @@ PATCHES=( |
20 |
) |
21 |
|
22 |
pkg_pretend() { |
23 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
24 |
- if use openmp; then |
25 |
- tc-has-openmp || die "Please switch to an openmp compatible compiler" |
26 |
- fi |
27 |
- fi |
28 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
29 |
+} |
30 |
+ |
31 |
+pkg_setup() { |
32 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
33 |
} |
34 |
|
35 |
src_prepare() { |