* 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>
# 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
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