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