public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gmp-ecm/
Date: Mon, 16 May 2022 08:12:36 +0000 (UTC)	[thread overview]
Message-ID: <1652688745.469d4113139fc891ac59df4a45542acba438e04a.soap@gentoo> (raw)

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

sci-mathematics/gmp-ecm: [QA] use tc-check-openmp correctly

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

 sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r4.ebuild | 9 +++++++--
 sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild    | 6 +++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r4.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r4.ebuild
index 2a77bd33a96a..404d71631f44 100644
--- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r4.ebuild
+++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic toolchain-funcs
+inherit autotools toolchain-funcs
 
 MY_PN="ecm"
 MY_P="${MY_PN}-${PV}"
@@ -27,7 +27,11 @@ PATCHES=(
 S="${WORKDIR}/${MY_P}"
 
 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_prepare(){
@@ -64,6 +68,7 @@ src_compile() {
 		emake ecm-params && emake clean && emake
 	fi
 }
+
 src_configure() {
 	econf \
 		--enable-shared \

diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild
index bf4ba87d79a1..42feb39cf26a 100644
--- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild
+++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.5.ebuild
@@ -30,7 +30,11 @@ BDEPEND="dev-libs/libxslt
 S="${WORKDIR}/${MY_P}"
 
 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_compile() {


             reply	other threads:[~2022-05-16  8:12 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-16  8:12 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-19 20:06 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gmp-ecm/ Michael Orlitzky
2025-04-19 18:39 Arthur Zamarin
2025-04-19  0:11 Sam James
2025-01-14 18:18 Michael Orlitzky
2024-12-16  8:59 Patrick Lauer
2023-11-24 15:12 Arthur Zamarin
2023-04-16 12:11 WANG Xuerui
2022-11-20  0:13 Sam James
2022-11-20  0:13 Sam James
2022-11-18 17:29 Arthur Zamarin
2022-10-08  2:06 Michael Orlitzky
2022-05-13 22:50 Conrad Kostecki
2022-05-06 11:44 Michael Orlitzky
2021-11-22  3:07 Yixun Lan
2021-10-12  8:18 Michael Orlitzky
2021-10-12  7:14 Agostino Sarubbo
2021-10-12  7:10 Agostino Sarubbo
2021-06-15  0:43 Michael Orlitzky
2021-05-31 22:45 Michael Orlitzky
2021-05-31 20:45 David Seifert
2021-04-18 12:11 Andreas Sturmlechner
2021-01-24 16:21 Sam James
2021-01-06 21:29 Brian Evans
2021-01-06 15:19 Fabian Groffen
2020-10-27 19:58 Sam James
2020-10-27  5:11 Sam James
2020-03-09 13:40 Michael Orlitzky
2020-03-09 12:48 Agostino Sarubbo
2020-03-09 12:39 Agostino Sarubbo
2020-03-02 17:21 Michael Orlitzky
2020-03-01 13:59 Michael Orlitzky
2020-02-29 16:05 Michael Orlitzky
2020-02-28 13:38 Michael Orlitzky
2019-10-16  8:24 Sergei Trofimovich
2019-09-15 10:42 罗百科
2019-08-25 14:44 罗百科
2019-06-23 18:14 David Seifert
2016-05-14 23:32 David Seifert
2016-05-14 23:32 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652688745.469d4113139fc891ac59df4a45542acba438e04a.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox