diff options
author | David Seifert <soap@gentoo.org> | 2022-05-14 23:30:15 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-05-14 23:30:15 +0200 |
commit | ee0173be9a357e05a3d50108752dbb5ee47cd3c7 (patch) | |
tree | 882da8dbd47cbf22f613b3cc708626fcead2c796 /media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | |
parent | media-gfx/pngquant: [QA] tc-has-openmp → tc-check-openmp (diff) | |
download | gentoo-ee0173be9a357e05a3d50108752dbb5ee47cd3c7.tar.gz gentoo-ee0173be9a357e05a3d50108752dbb5ee47cd3c7.tar.bz2 gentoo-ee0173be9a357e05a3d50108752dbb5ee47cd3c7.zip |
media-gfx/rawtherapee: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild')
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild index ea59ec8cbd19..6bc9d3808b2d 100644 --- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild +++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild @@ -47,9 +47,11 @@ PATCHES=( ) pkg_pretend() { - if use openmp ; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_configure() { |