diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sci-libs/ceres-solver/ceres-solver-2.1.0.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sci-libs/ceres-solver/ceres-solver-2.1.0.ebuild')
-rw-r--r-- | sci-libs/ceres-solver/ceres-solver-2.1.0.ebuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sci-libs/ceres-solver/ceres-solver-2.1.0.ebuild b/sci-libs/ceres-solver/ceres-solver-2.1.0.ebuild index 92fefb044a1a..fa2a76ca48ac 100644 --- a/sci-libs/ceres-solver/ceres-solver-2.1.0.ebuild +++ b/sci-libs/ceres-solver/ceres-solver-2.1.0.ebuild @@ -48,15 +48,11 @@ PATCHES=( ) pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - if [[ $(tc-getCXX) == *g++* ]] && ! tc-has-openmp; then - ewarn "OpenMP is not available in your current selected gcc" - die "need openmp capable gcc" - fi - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp use doc && python-any-r1_pkg_setup } |