This patch injects a few missing dependency rules in the generated
Makefile that resolves the parallelism problem.
Thanks to Diego Elio Pettenò for reporting.
Bug: https://bugs.gentoo.org/299972
Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
KEYWORDS="~amd64 ~x86"
IUSE="test"
-SRC_TEST="do"
+PATCHES=(
+ "${FILESDIR}/${PV}-parallel-make.patch"
+)
-MAKEOPTS="${MAKEOPTS} -j1"
+SRC_TEST="do"
DEPEND="
virtual/perl-ExtUtils-MakeMaker
--- /dev/null
+diff --git a/src/Makefile.PL b/src/Makefile.PL
+index 3a945d4..2c1e03a 100644
+--- a/src/Makefile.PL
++++ b/src/Makefile.PL
+@@ -55,6 +55,10 @@ libclient$(LIB_EXT): $(OBJECT)
+ $(AR) cr libclient$(LIB_EXT) $(OBJECT)
+ $(RANLIB) libclient$(LIB_EXT)
+
++dispatch_key.o : compute_crc32.h
++
++client.o : parse_keyword.h
++
+ parse_keyword.c parse_keyword.h :: genparser.pl reply.kw
+ $(PERL) genparser.pl reply.kw parse_keyword.c parse_keyword.h
+