summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-10-17 15:55:56 +0200
committerPacho Ramos <pacho@gentoo.org>2024-10-17 15:58:08 +0200
commitd0bc75131f367e36e87e7561fd489ef939763927 (patch)
tree6c03c25d7556d364d511a89f84f4243d07633ea6 /sci-chemistry/molmol
parentdev-ml/luv: new ctypes fixes signature (diff)
downloadgentoo-d0bc75131f367e36e87e7561fd489ef939763927.tar.gz
gentoo-d0bc75131f367e36e87e7561fd489ef939763927.tar.bz2
gentoo-d0bc75131f367e36e87e7561fd489ef939763927.zip
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@gentoo.org>
Diffstat (limited to 'sci-chemistry/molmol')
-rw-r--r--sci-chemistry/molmol/molmol-2k_p2-r9.ebuild8
1 files changed, 7 insertions, 1 deletions
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() {