diff options
Diffstat (limited to 'sci-libs/coinor-csdp')
-rw-r--r-- | sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild b/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild index a00b0d8e16f1..89c14acd5dff 100644 --- a/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild +++ b/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -60,10 +60,12 @@ static_to_shared() { fi } +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - use openmp && tc-check-openmp - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_prepare() { |