From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1343894-garchives=archives.gentoo.org@lists.gentoo.org>
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) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 18A8D158086
	for <garchives@archives.gentoo.org>; Sat, 27 Nov 2021 21:53:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 29A71E0863;
	Sat, 27 Nov 2021 21:53:23 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 141D4E085E
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Nov 2021 21:53:22 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 1095D34303E
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Nov 2021 21:53:22 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2ECB28E
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Nov 2021 21:53:20 +0000 (UTC)
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" <marecki@gentoo.org>
Message-ID: <1638049988.81ff0685a8c452e3d035b3e8fbafc2fb83af3e72.marecki@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/darktable/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-gfx/darktable/darktable-3.6.1-r2.ebuild
X-VCS-Directories: media-gfx/darktable/
X-VCS-Committer: marecki
X-VCS-Committer-Name: Marek Szuba
X-VCS-Revision: 81ff0685a8c452e3d035b3e8fbafc2fb83af3e72
X-VCS-Branch: master
Date: Sat, 27 Nov 2021 21:53:20 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 2cc6efc0-8e14-4c23-84d7-148a40e7c14d
X-Archives-Hash: 5064f0ea9dca1ff174dd27b230241b5d

commit:     81ff0685a8c452e3d035b3e8fbafc2fb83af3e72
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 16:15:11 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 21:53:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81ff0685

media-gfx/darktable: switch to tc-check-openmp for OpenMP checks

As described in the toolchain-funcs.eclass documentation, this is
recommended over tc-has-openmp + custom message because it presents
an uniform interface to the users.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-gfx/darktable/darktable-3.6.1-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-gfx/darktable/darktable-3.6.1-r2.ebuild b/media-gfx/darktable/darktable-3.6.1-r2.ebuild
index e948c750f0cb..68737e363aca 100644
--- a/media-gfx/darktable/darktable-3.6.1-r2.ebuild
+++ b/media-gfx/darktable/darktable-3.6.1-r2.ebuild
@@ -93,9 +93,7 @@ pkg_pretend() {
 				die "Please switch to a gcc version built with USE=graphite"
 		fi
 
-		if use openmp ; then
-			tc-has-openmp || die "Please switch to an openmp compatible compiler"
-		fi
+		use openmp && tc-check-openmp
 	fi
 }