From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mathjax/
Date: Mon, 19 Feb 2024 04:04:48 +0000 (UTC) [thread overview]
Message-ID: <1708315465.80321876fb80dd0dbc14c6281c2710ba6f3bbd2a.sam@gentoo> (raw)
commit: 80321876fb80dd0dbc14c6281c2710ba6f3bbd2a
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Feb 18 19:49:50 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 04:04:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80321876
dev-libs/mathjax: fix build error for 2.x built without docs
The sed did not apply because the docs aren't extracted unless USE=doc.
In that case there's no point running it anyway.
Closes: https://bugs.gentoo.org/924879
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/mathjax/mathjax-2.7.7-r1.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild b/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild
index 9fea30af9a03..7c3e85efd7b3 100644
--- a/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild
+++ b/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild
@@ -62,7 +62,9 @@ pkg_setup() {
src_prepare() {
default
- sed -e 's/add_stylesheet/add_css_file/' -i "${DOCS_S}"/conf.py || die
+ if use doc; then
+ sed -e 's/add_stylesheet/add_css_file/' -i "${DOCS_S}"/conf.py || die
+ fi
}
src_compile() {
next reply other threads:[~2024-02-19 4:04 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-19 4:04 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-14 3:26 [gentoo-commits] repo/gentoo:master commit in: dev-libs/mathjax/ Eli Schwartz
2025-07-14 3:26 Eli Schwartz
2024-09-24 15:09 Arthur Zamarin
2024-08-25 15:24 Andreas K. Hüttel
2024-08-20 15:45 Eli Schwartz
2024-03-22 4:03 Sam James
2024-03-22 4:03 Sam James
2024-02-15 13:50 Sam James
2024-02-15 13:50 Sam James
2024-02-15 13:50 Sam James
2024-02-15 13:50 Sam James
2024-02-15 13:50 Sam James
2023-09-30 18:22 Michael Orlitzky
2023-09-30 18:22 Michael Orlitzky
2023-08-31 3:11 Michael Orlitzky
2023-08-16 20:17 Michael Orlitzky
2022-09-22 7:45 Michał Górny
2022-02-27 23:09 Sam James
2022-02-27 20:07 Michał Górny
2022-02-27 16:51 Sam James
2022-02-27 16:48 Sam James
2022-02-27 16:38 Sam James
2022-02-27 12:29 Jakov Smolić
2022-02-14 8:35 Matt Turner
2022-01-30 13:32 James Le Cuirot
2021-11-18 8:10 Sam James
2021-11-18 5:36 Sam James
2021-11-14 20:35 Sam James
2021-11-14 3:43 Sam James
2021-09-06 0:18 Sam James
2021-09-02 0:01 Marek Szuba
2021-06-20 1:55 Sam James
2020-11-30 2:55 Sam James
2020-02-12 18:06 David Seifert
2020-01-10 8:45 Mark Wright
2019-02-04 20:16 Markus Meier
2018-12-29 9:10 Mikle Kolyada
2018-12-22 22:25 Thomas Deutschmann
2018-07-03 2:03 Mark Wright
2018-07-03 2:03 Mark Wright
2018-04-24 7:15 Mikle Kolyada
2018-04-22 1:35 Thomas Deutschmann
2018-04-18 12:00 Mikle Kolyada
2017-06-23 19:26 Alexis Ballier
2016-12-02 1:01 Mark Wright
2016-01-22 21:03 Justin Lecher
2015-09-07 15:58 Justin Lecher
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=1708315465.80321876fb80dd0dbc14c6281c2710ba6f3bbd2a.sam@gentoo \
--to=sam@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