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 C43C4158090 for ; Mon, 16 May 2022 08:12:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3AB0E0903; Mon, 16 May 2022 08:12:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 A70FAE0905 for ; Mon, 16 May 2022 08:12:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C40ED3415D0 for ; Mon, 16 May 2022 08:12:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B57C4C3 for ; Mon, 16 May 2022 08:12:36 +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: <1652688743.04614f988393ef618a03f1ed54918c9e60f96a80.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/parmetis/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/parmetis/parmetis-4.0.3-r2.ebuild X-VCS-Directories: sci-libs/parmetis/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 04614f988393ef618a03f1ed54918c9e60f96a80 X-VCS-Branch: master Date: Mon, 16 May 2022 08:12:36 +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: cbd52c58-3db6-4321-a7f0-925fa4b4e044 X-Archives-Hash: 72756f0d3db22a94a84e24cc77f4a7f3 commit: 04614f988393ef618a03f1ed54918c9e60f96a80 Author: David Seifert gentoo org> AuthorDate: Mon May 16 08:12:23 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Mon May 16 08:12:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04614f98 sci-libs/parmetis: [QA] use tc-check-openmp correctly Signed-off-by: David Seifert gentoo.org> sci-libs/parmetis/parmetis-4.0.3-r2.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild b/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild index 1f1b3c8b4398..f24d1ffbe973 100644 --- a/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild +++ b/sci-libs/parmetis/parmetis-4.0.3-r2.ebuild @@ -26,10 +26,12 @@ PATCHES=( "${FILESDIR}"/${PN}-4.0.3-02-unbundle-metis.patch ) +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - use openmp && tc-check-openmp - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_prepare() {