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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48F09158090 for ; Sat, 14 May 2022 21:30:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E04F8E0965; Sat, 14 May 2022 21:30:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C63E9E095E for ; Sat, 14 May 2022 21:30:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3327D341B59 for ; Sat, 14 May 2022 21:30:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A6984C3 for ; Sat, 14 May 2022 21:30:37 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1652563822.0307b6b0f8a436273160af04404a38fd31ef89d1.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild X-VCS-Directories: sci-libs/ginkgo/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 0307b6b0f8a436273160af04404a38fd31ef89d1 X-VCS-Branch: master Date: Sat, 14 May 2022 21:30:37 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 637f9b55-54fb-4551-8dd8-a4d0c63148a9 X-Archives-Hash: c9b1a375b5c49cab46c2707a57712b16 commit: 0307b6b0f8a436273160af04404a38fd31ef89d1 Author: David Seifert gentoo org> AuthorDate: Sat May 14 21:30:22 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Sat May 14 21:30:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0307b6b0 sci-libs/ginkgo: [QA] tc-has-openmp → tc-check-openmp Signed-off-by: David Seifert gentoo.org> sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild index 5092a73a706d..abd270c911c4 100644 --- a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild +++ b/sci-libs/ginkgo/ginkgo-1.4.0-r3.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 @@ -26,11 +26,12 @@ RDEPEND=" " DEPEND="${RDEPEND}" +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && \ - use openmp && ! tc-has-openmp ; then - die "Need an OpenMP capable compiler" - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_prepare() {