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 648AD158090 for ; Mon, 16 May 2022 08:12:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BD6AE0917; Mon, 16 May 2022 08:12:41 +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 50FDFE0917 for ; Mon, 16 May 2022 08:12:41 +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 0F8B93415DF for ; Mon, 16 May 2022 08:12:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52A284D4 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: <1652688746.91df1804da2356a3cd4aa018837623c90fad9aa1.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gretl/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/gretl/gretl-2021d.ebuild X-VCS-Directories: sci-mathematics/gretl/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 91df1804da2356a3cd4aa018837623c90fad9aa1 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: 5436d2af-9f96-444e-b97f-86b47fb3e16f X-Archives-Hash: b95912769e3a5437f76f184c947c7029 commit: 91df1804da2356a3cd4aa018837623c90fad9aa1 Author: David Seifert gentoo org> AuthorDate: Mon May 16 08:12:26 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Mon May 16 08:12:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91df1804 sci-mathematics/gretl: [QA] use tc-check-openmp correctly Signed-off-by: David Seifert gentoo.org> sci-mathematics/gretl/gretl-2021d.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sci-mathematics/gretl/gretl-2021d.ebuild b/sci-mathematics/gretl/gretl-2021d.ebuild index dcc6aca2cfbe..957d8f5cb180 100644 --- a/sci-mathematics/gretl/gretl-2021d.ebuild +++ b/sci-mathematics/gretl/gretl-2021d.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 @@ -54,9 +54,11 @@ PATCHES=( DOCS=( README ChangeLog CompatLog ) pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - use openmp && tc-check-openmp - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_configure() {