commit: 436c3cf55dd8a5f8522bc4fee2dd8607d0cbf244 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon May 16 05:29:20 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon May 16 05:29:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436c3cf5
sci-astronomy/siril: fix openmp check Signed-off-by: Sam James <sam <AT> gentoo.org> sci-astronomy/siril/siril-1.0.1.ebuild | 8 ++++++-- sci-astronomy/siril/siril-9999.ebuild | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/sci-astronomy/siril/siril-1.0.1.ebuild b/sci-astronomy/siril/siril-1.0.1.ebuild index 822c1fba9bfd..e24c4af5709a 100644 --- a/sci-astronomy/siril/siril-1.0.1.ebuild +++ b/sci-astronomy/siril/siril-1.0.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit meson xdg +inherit meson toolchain-funcs xdg DESCRIPTION="A free astronomical image processing software" HOMEPAGE="https://www.siril.org/" @@ -54,7 +54,11 @@ PATCHES=( DOCS=( README.md NEWS ChangeLog LICENSE.md LICENSE_sleef.txt AUTHORS ) pkg_pretend() { - use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_configure() { diff --git a/sci-astronomy/siril/siril-9999.ebuild b/sci-astronomy/siril/siril-9999.ebuild index 822c1fba9bfd..e24c4af5709a 100644 --- a/sci-astronomy/siril/siril-9999.ebuild +++ b/sci-astronomy/siril/siril-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit meson xdg +inherit meson toolchain-funcs xdg DESCRIPTION="A free astronomical image processing software" HOMEPAGE="https://www.siril.org/" @@ -54,7 +54,11 @@ PATCHES=( DOCS=( README.md NEWS ChangeLog LICENSE.md LICENSE_sleef.txt AUTHORS ) pkg_pretend() { - use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_configure() {