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 6A5E3158090 for ; Sat, 14 May 2022 21:30:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90105E0955; Sat, 14 May 2022 21:30:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 74F31E0951 for ; Sat, 14 May 2022 21:30: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 A8959341B81 for ; Sat, 14 May 2022 21:30:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94B3E46D for ; Sat, 14 May 2022 21:30: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: <1652563809.09bbbebeb57fd901c169b92f7333b931dd74b303.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gmic/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/gmic/gmic-3.0.1-r1.ebuild X-VCS-Directories: media-gfx/gmic/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 09bbbebeb57fd901c169b92f7333b931dd74b303 X-VCS-Branch: master Date: Sat, 14 May 2022 21:30: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: 8649ba60-9829-43c9-b944-9ba096a86e91 X-Archives-Hash: 94b9a530ce71dcea88adf09eb2a7182d commit: 09bbbebeb57fd901c169b92f7333b931dd74b303 Author: David Seifert gentoo org> AuthorDate: Sat May 14 21:30:09 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Sat May 14 21:30:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bbbebe media-gfx/gmic: [QA] tc-has-openmp → tc-check-openmp Signed-off-by: David Seifert gentoo.org> media-gfx/gmic/gmic-3.0.1-r1.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/media-gfx/gmic/gmic-3.0.1-r1.ebuild b/media-gfx/gmic/gmic-3.0.1-r1.ebuild index 997f0d677392..a9cf822de4db 100644 --- a/media-gfx/gmic/gmic-3.0.1-r1.ebuild +++ b/media-gfx/gmic/gmic-3.0.1-r1.ebuild @@ -68,11 +68,11 @@ PATCHES=( ) pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if use openmp; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_prepare() {