Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cache-Memcached-Fast/files/, dev-perl/Cache-Memcached-Fast/
Date: Tue, 02 Aug 2016 12:56:22
Message-Id: 1470142409.94345d2337d7c16e66a45a85c0c135599941ac19.kentnl@gentoo
1 commit: 94345d2337d7c16e66a45a85c0c135599941ac19
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 2 12:50:45 2016 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 2 12:53:29 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94345d23
7
8 dev-perl/Cache-Memcached-Fast: Fix make dependencies re: bug #299972
9
10 This patch injects a few missing dependency rules in the generated
11 Makefile that resolves the parallelism problem.
12
13 Thanks to Diego Elio Pettenò for reporting.
14
15 Bug: https://bugs.gentoo.org/299972
16
17 Package-Manager: portage-2.3.0
18 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"
19
20 .../Cache-Memcached-Fast-0.230.0.ebuild | 8 +++++---
21 .../files/0.230.0-parallel-make.patch | 15 +++++++++++++++
22 2 files changed, 20 insertions(+), 3 deletions(-)
23
24 diff --git a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.230.0.ebuild b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.230.0.ebuild
25 index 3f4e28d..34ba14f 100644
26 --- a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.230.0.ebuild
27 +++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.230.0.ebuild
28 @@ -1,4 +1,4 @@
29 -# Copyright 1999-2014 Gentoo Foundation
30 +# Copyright 1999-2016 Gentoo Foundation
31 # Distributed under the terms of the GNU General Public License v2
32 # $Id$
33
34 @@ -14,9 +14,11 @@ SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36 IUSE="test"
37
38 -SRC_TEST="do"
39 +PATCHES=(
40 + "${FILESDIR}/${PV}-parallel-make.patch"
41 +)
42
43 -MAKEOPTS="${MAKEOPTS} -j1"
44 +SRC_TEST="do"
45
46 DEPEND="
47 virtual/perl-ExtUtils-MakeMaker
48
49 diff --git a/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch b/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch
50 new file mode 100644
51 index 0000000..65f856c
52 --- /dev/null
53 +++ b/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch
54 @@ -0,0 +1,15 @@
55 +diff --git a/src/Makefile.PL b/src/Makefile.PL
56 +index 3a945d4..2c1e03a 100644
57 +--- a/src/Makefile.PL
58 ++++ b/src/Makefile.PL
59 +@@ -55,6 +55,10 @@ libclient$(LIB_EXT): $(OBJECT)
60 + $(AR) cr libclient$(LIB_EXT) $(OBJECT)
61 + $(RANLIB) libclient$(LIB_EXT)
62 +
63 ++dispatch_key.o : compute_crc32.h
64 ++
65 ++client.o : parse_keyword.h
66 ++
67 + parse_keyword.c parse_keyword.h :: genparser.pl reply.kw
68 + $(PERL) genparser.pl reply.kw parse_keyword.c parse_keyword.h
69 +