diff options
-rw-r--r-- | sci-astronomy/siril/siril-1.0.1.ebuild | 8 | ||||
-rw-r--r-- | 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() { |