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 AB017158090 for ; Mon, 16 May 2022 08:12:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 422CAE0909; 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 2687AE0909 for ; Mon, 16 May 2022 08:12:41 +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 3242C341604 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 651A34D5 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: <1652688747.d2e8ea401edf0f3290c3bc3600df0bfa68418430.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primecount/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/primecount/primecount-7.2-r1.ebuild X-VCS-Directories: sci-mathematics/primecount/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: d2e8ea401edf0f3290c3bc3600df0bfa68418430 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: cfdf3fc5-52e4-4bb2-9043-deec3a8e9ed9 X-Archives-Hash: fd0f0756f1a75679592fed49be6309a8 commit: d2e8ea401edf0f3290c3bc3600df0bfa68418430 Author: David Seifert gentoo org> AuthorDate: Mon May 16 08:12:27 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Mon May 16 08:12:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e8ea40 sci-mathematics/primecount: [QA] use tc-check-openmp correctly Signed-off-by: David Seifert gentoo.org> sci-mathematics/primecount/primecount-7.2-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/primecount/primecount-7.2-r1.ebuild b/sci-mathematics/primecount/primecount-7.2-r1.ebuild index f84b7b7ea831..617ab1e08c27 100644 --- a/sci-mathematics/primecount/primecount-7.2-r1.ebuild +++ b/sci-mathematics/primecount/primecount-7.2-r1.ebuild @@ -8,6 +8,7 @@ inherit cmake toolchain-funcs DESCRIPTION="Highly optimized CLI and library to count primes" HOMEPAGE="https://github.com/kimwalisch/primecount" SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + LICENSE="BSD-2" SLOT="0/7" # subslot is first component of libprimecount.so version KEYWORDS="amd64" @@ -32,7 +33,11 @@ DOCS=( ) pkg_pretend() { - use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_configure() {