From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1981A138334 for ; Sun, 15 Jul 2018 16:09:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 553F9E0830; Sun, 15 Jul 2018 16:09:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B758E082F for ; Sun, 15 Jul 2018 16:09:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B027335C9B for ; Sun, 15 Jul 2018 16:09:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1221B374 for ; Sun, 15 Jul 2018 16:09:12 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1531670935.de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-visualization/paraview/paraview-5.5.2.ebuild X-VCS-Directories: sci-visualization/paraview/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9 X-VCS-Branch: master Date: Sun, 15 Jul 2018 16:09:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b061594b-b69b-424a-8ef5-a4536bc99c81 X-Archives-Hash: fb531e16731386e063e69efc9ac7efcb commit: de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jul 15 08:57:37 2018 +0000 Commit: Andreas Sturmlechner gentoo 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} }