1 |
commit: df0aaaebe03b6862a90f686b8fa1bf1995a55470 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 3 21:34:59 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 3 21:34:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df0aaaeb |
7 |
|
8 |
dev-perl/Text-Quoted: Add build fix for Perl 5.26, bug 623126 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-perl/Text-Quoted/Text-Quoted-2.90.0.ebuild | 11 +++++++++-- |
13 |
1 file changed, 9 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-perl/Text-Quoted/Text-Quoted-2.90.0.ebuild b/dev-perl/Text-Quoted/Text-Quoted-2.90.0.ebuild |
16 |
index 0a9e48f6354..2bdbf267b14 100644 |
17 |
--- a/dev-perl/Text-Quoted/Text-Quoted-2.90.0.ebuild |
18 |
+++ b/dev-perl/Text-Quoted/Text-Quoted-2.90.0.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=6 |
25 |
@@ -13,9 +13,16 @@ SLOT="0" |
26 |
KEYWORDS="amd64 ia64 ~ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" |
27 |
IUSE="" |
28 |
|
29 |
-RDEPEND="dev-perl/Text-Autoformat |
30 |
+RDEPEND=" |
31 |
+ dev-perl/Text-Autoformat |
32 |
virtual/perl-Text-Tabs+Wrap |
33 |
" |
34 |
DEPEND="${RDEPEND} |
35 |
>=virtual/perl-ExtUtils-MakeMaker-6.590.0 |
36 |
" |
37 |
+ |
38 |
+src_prepare() { |
39 |
+ sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL || |
40 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
41 |
+ perl-module_src_prepare |
42 |
+} |