From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/muParser/
Date: Mon, 23 Jan 2023 02:19:30 +0000 (UTC) [thread overview]
Message-ID: <1674440342.1fee59e8f357d681721edd0ce4e7b9896ee7ab83.tamiko@gentoo> (raw)
commit: 1fee59e8f357d681721edd0ce4e7b9896ee7ab83
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 23 02:19:02 2023 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jan 23 02:19:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fee59e8
dev-cpp/muParser: add missing openmp check
Closes: https://bugs.gentoo.org/875257
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
dev-cpp/muParser/muParser-2.3.3-r2.ebuild | 10 +++++++++-
dev-cpp/muParser/muParser-2.3.4-r1.ebuild | 10 +++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/dev-cpp/muParser/muParser-2.3.3-r2.ebuild b/dev-cpp/muParser/muParser-2.3.3-r2.ebuild
index cab8c4f6caf3..cc9e5ae7de10 100644
--- a/dev-cpp/muParser/muParser-2.3.3-r2.ebuild
+++ b/dev-cpp/muParser/muParser-2.3.3-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake toolchain-funcs
# The upstream tag is v2.3.3-1 instead of v2.3.3
suffix="-1"
@@ -21,6 +21,14 @@ RESTRICT="!test? ( test )"
S="${S}${suffix}"
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
src_configure() {
local mycmakeargs=(
-DENABLE_OPENMP=$(usex openmp)
diff --git a/dev-cpp/muParser/muParser-2.3.4-r1.ebuild b/dev-cpp/muParser/muParser-2.3.4-r1.ebuild
index 363cf05aaf0d..910218afa123 100644
--- a/dev-cpp/muParser/muParser-2.3.4-r1.ebuild
+++ b/dev-cpp/muParser/muParser-2.3.4-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake toolchain-funcs
DESCRIPTION="Library for parsing mathematical expressions"
HOMEPAGE="https://beltoforion.de/en/muparser/"
@@ -16,6 +16,14 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-li
IUSE="doc openmp test"
RESTRICT="!test? ( test )"
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
src_configure() {
local mycmakeargs=(
-DENABLE_OPENMP=$(usex openmp)
next reply other threads:[~2023-01-23 2:19 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-23 2:19 Matthias Maier [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-23 6:22 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/muParser/ Sam James
2023-01-23 3:17 Sam James
2023-01-23 3:12 Sam James
2023-01-23 2:11 Matthias Maier
2023-01-23 2:11 Matthias Maier
2022-12-20 18:40 Alexey Shvetsov
2022-12-17 19:28 Arthur Zamarin
2022-12-16 21:50 Sam James
2022-12-16 20:33 Arthur Zamarin
2022-09-30 20:28 Christoph Junghans
2022-07-26 7:05 Sam James
2022-07-22 17:54 Sam James
2022-07-20 5:36 Sam James
2022-05-18 3:44 Matthias Maier
2022-04-15 13:14 Arthur Zamarin
2021-11-24 16:46 Sam James
2021-11-24 7:58 Agostino Sarubbo
2021-11-23 14:53 Matthias Maier
2021-11-04 20:52 Alexey Shvetsov
2021-07-26 7:40 Yixun Lan
2021-01-06 18:38 Fabian Groffen
2020-09-28 0:56 Aaron Bauman
2019-07-02 11:55 Agostino Sarubbo
2019-07-02 10:33 Agostino Sarubbo
2018-11-04 19:25 Matthias Maier
2018-11-04 19:25 Matthias Maier
2017-06-27 17:56 Alexis Ballier
2017-06-04 10:42 Agostino Sarubbo
2017-06-04 10:34 Agostino Sarubbo
2016-10-15 21:30 Manuel Rüger
2016-10-10 23:11 Manuel Rüger
2016-01-15 9:03 Agostino Sarubbo
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=1674440342.1fee59e8f357d681721edd0ce4e7b9896ee7ab83.tamiko@gentoo \
--to=tamiko@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