diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-15 10:57:37 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-15 18:08:55 +0200 |
commit | de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9 (patch) | |
tree | bbce004560f1a6c935670f707c44b21c43b055e3 /sci-visualization/paraview | |
parent | sci-visualization/paraview: Drop obsolete multilib eclass (diff) | |
download | gentoo-de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9.tar.gz gentoo-de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9.tar.bz2 gentoo-de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9.zip |
sci-visualization/paraview: Use tc-check-openmp
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'sci-visualization/paraview')
-rw-r--r-- | sci-visualization/paraview/paraview-5.5.2.ebuild | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild index 6c2ee9ebc6da..629e0f2e785e 100644 --- a/sci-visualization/paraview/paraview-5.5.2.ebuild +++ b/sci-visualization/paraview/paraview-5.5.2.ebuild @@ -102,15 +102,8 @@ PATCHES=( "${FILESDIR}"/${P}-qt-5.11.patch ) -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then - eerror "For USE=openmp a gcc with openmp support is required" - eerror - return 1 - fi -} - pkg_setup() { + [[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp python-single-r1_pkg_setup PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV} } |