commit: 09bbbebeb57fd901c169b92f7333b931dd74b303
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:30:09 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 14 21:30:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bbbebe
media-gfx/gmic: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-gfx/gmic/gmic-3.0.1-r1.ebuild | 10 +++++-----
1 file 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() {