commit: de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Jul 15 08:57:37 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Jul 15 16:08:55 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1ab68d
sci-visualization/paraview: Use tc-check-openmp Package-Manager: Portage-2.3.41, Repoman-2.3.9 sci-visualization/paraview/paraview-5.5.2.ebuild | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild index 6c2ee9ebc6d..629e0f2e785 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} }