1 |
commit: 81ff0685a8c452e3d035b3e8fbafc2fb83af3e72 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 27 16:15:11 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 27 21:53:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81ff0685 |
7 |
|
8 |
media-gfx/darktable: switch to tc-check-openmp for OpenMP checks |
9 |
|
10 |
As described in the toolchain-funcs.eclass documentation, this is |
11 |
recommended over tc-has-openmp + custom message because it presents |
12 |
an uniform interface to the users. |
13 |
|
14 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
15 |
|
16 |
media-gfx/darktable/darktable-3.6.1-r2.ebuild | 4 +--- |
17 |
1 file changed, 1 insertion(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/media-gfx/darktable/darktable-3.6.1-r2.ebuild b/media-gfx/darktable/darktable-3.6.1-r2.ebuild |
20 |
index e948c750f0cb..68737e363aca 100644 |
21 |
--- a/media-gfx/darktable/darktable-3.6.1-r2.ebuild |
22 |
+++ b/media-gfx/darktable/darktable-3.6.1-r2.ebuild |
23 |
@@ -93,9 +93,7 @@ pkg_pretend() { |
24 |
die "Please switch to a gcc version built with USE=graphite" |
25 |
fi |
26 |
|
27 |
- if use openmp ; then |
28 |
- tc-has-openmp || die "Please switch to an openmp compatible compiler" |
29 |
- fi |
30 |
+ use openmp && tc-check-openmp |
31 |
fi |
32 |
} |