diff options
author | 2022-05-14 23:30:09 +0200 | |
---|---|---|
committer | 2022-05-14 23:30:09 +0200 | |
commit | 09bbbebeb57fd901c169b92f7333b931dd74b303 (patch) | |
tree | 11811aea211ef01edcc2899264bdc42e5487d298 /media-gfx | |
parent | media-gfx/aaphoto: [QA] tc-has-openmp → tc-check-openmp (diff) | |
download | gentoo-09bbbebeb57fd901c169b92f7333b931dd74b303.tar.gz gentoo-09bbbebeb57fd901c169b92f7333b931dd74b303.tar.bz2 gentoo-09bbbebeb57fd901c169b92f7333b931dd74b303.zip |
media-gfx/gmic: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gmic/gmic-3.0.1-r1.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/media-gfx/gmic/gmic-3.0.1-r1.ebuild b/media-gfx/gmic/gmic-3.0.1-r1.ebuild index 997f0d677392..a9cf822de4db 100644 --- a/media-gfx/gmic/gmic-3.0.1-r1.ebuild +++ b/media-gfx/gmic/gmic-3.0.1-r1.ebuild @@ -68,11 +68,11 @@ PATCHES=( ) pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if use openmp; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_prepare() { |