diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-11-27 17:15:11 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-11-27 22:53:08 +0100 |
commit | 81ff0685a8c452e3d035b3e8fbafc2fb83af3e72 (patch) | |
tree | d684e4f6d2c07dd0b27858dc2f5a539743b48dd2 /media-gfx | |
parent | app-laptop/tuxedo-control-center-bin: added openrc script (diff) | |
download | gentoo-81ff0685a8c452e3d035b3e8fbafc2fb83af3e72.tar.gz gentoo-81ff0685a8c452e3d035b3e8fbafc2fb83af3e72.tar.bz2 gentoo-81ff0685a8c452e3d035b3e8fbafc2fb83af3e72.zip |
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@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/darktable/darktable-3.6.1-r2.ebuild | 4 |
1 files changed, 1 insertions, 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 } |