sci-electronics/iverilog: fix parallel install in 10.3
authorHuang Rui <vowstar@gmail.com>
Tue, 7 Jan 2020 06:05:14 +0000 (08:05 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Tue, 7 Jan 2020 06:20:02 +0000 (08:20 +0200)
* Found a better way to fix the build race condition
* Removed .NOTPARALLEL: install to speed up build
Upstream fix: https://github.com/steveicarus/iverilog/pull/294

Signed-off-by: Huang Rui <vowstar@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
sci-electronics/iverilog/iverilog-10.3.ebuild

index 145ceb786d7445e189143aef026af9483a8640ae..183ed6f2023f5da39067c33f6d02f6e591cf7783 100644 (file)
@@ -45,9 +45,6 @@ src_prepare() {
        # Here translate the autoconf.sh, equivalent to the following code
        # > sh autoconf.sh
 
-       # Fix build fail problem when using large job number, make it parallel safe
-       echo ".NOTPARALLEL: install" >> ./Makefile.in || die
-
        # Autoconf in root ...
        eautoconf --force
        # Precompiling lexor_keyword.gperf
@@ -59,6 +56,9 @@ src_prepare() {
 
 src_install() {
        local DOCS=( *.txt )
+       # Default build fails with parallel jobs,
+       # https://github.com/steveicarus/iverilog/pull/294
+       emake installdirs DESTDIR="${D}"
        default
 
        if use examples; then