public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molmol/
Date: Thu, 17 Oct 2024 13:58:17 +0000 (UTC)	[thread overview]
Message-ID: <1729173488.d0bc75131f367e36e87e7561fd489ef939763927.pacho@gentoo> (raw)

commit:     d0bc75131f367e36e87e7561fd489ef939763927
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 13:55:56 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 13:58:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bc7513

sci-chemistry/molmol: Really disable parallel build

Enforce the disabling of parallel build, this also allows to drop the ugly
upstream delays to make it build.

Closes: https://bugs.gentoo.org/880621
Closes: https://bugs.gentoo.org/941488
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sci-chemistry/molmol/molmol-2k_p2-r9.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/molmol/molmol-2k_p2-r9.ebuild b/sci-chemistry/molmol/molmol-2k_p2-r9.ebuild
index 14378809c07a..9a63d1dbb20d 100644
--- a/sci-chemistry/molmol/molmol-2k_p2-r9.ebuild
+++ b/sci-chemistry/molmol/molmol-2k_p2-r9.ebuild
@@ -52,7 +52,6 @@ PATCHES=(
 
 pkg_setup() {
 	MMDIR="/usr/$(get_libdir)/molmol"
-	MAKEOPTS="${MAKEOPTS} -j1" #880621
 }
 
 src_prepare() {
@@ -85,6 +84,13 @@ src_prepare() {
 
 	eapply "${WORKDIR}"/patches/wild.patch
 	tc-export AR
+
+	# Parallel build fails (#880621) and cannot be disabled by MAKEOPTS
+	# (#880621, #941488).
+	find . -name Makefile -exec sed -i -e "1i .NOTPARALLEL:" {} + || die
+	# Try to drop the ugly hardcoded sleep now that make is really
+	# serial
+	sed -i -e 's/sleep 2/sleep 0/g' makedef || die
 }
 
 src_install() {


             reply	other threads:[~2024-10-17 13:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-17 13:58 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-17 13:58 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molmol/ Pacho Ramos
2024-07-11 11:35 Jakov Smolić
2024-05-18 10:57 Pacho Ramos
2022-12-16  1:40 Sam James
2022-11-20  9:30 Pacho Ramos
2022-11-20  9:30 Pacho Ramos
2022-09-01  1:00 Sam James
2021-11-18 23:50 Georgy Yakovlev
2019-05-30 11:45 Pacho Ramos
2019-05-30 11:45 Pacho Ramos
2017-12-12 18:39 Thomas Deutschmann
2017-10-29 10:01 Sergei Trofimovich

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=1729173488.d0bc75131f367e36e87e7561fd489ef939763927.pacho@gentoo \
    --to=pacho@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