public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-csdp/
@ 2022-05-16  8:12 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2022-05-16  8:12 UTC (permalink / raw
  To: gentoo-commits

commit:     dd5518231a248a49b1f552563dbcc0258c55bf78
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 08:12:18 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 16 08:12:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd551823

sci-libs/coinor-csdp: [QA] use tc-check-openmp correctly

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild b/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild
index a00b0d8e16f1..89c14acd5dff 100644
--- a/sci-libs/coinor-csdp/coinor-csdp-6.2.0.ebuild
+++ b/sci-libs/coinor-csdp/coinor-csdp-6.2.0.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
@@ -60,10 +60,12 @@ static_to_shared() {
 	fi
 }
 
+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() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-16  8:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-16  8:12 [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-csdp/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox