1 |
commit: 7879d70b548b9c83fca6ecbc2e80c2111bb94ff6 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 25 23:46:46 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 25 23:47:01 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7879d70b |
7 |
|
8 |
dev-perl/IO-Digest: Fix '.' in @INC build failure #634184 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/634184 |
11 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
12 |
|
13 |
dev-perl/IO-Digest/IO-Digest-0.110.0-r2.ebuild | 8 +++++++- |
14 |
1 file changed, 7 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-perl/IO-Digest/IO-Digest-0.110.0-r2.ebuild b/dev-perl/IO-Digest/IO-Digest-0.110.0-r2.ebuild |
17 |
index ac62b6d59ed..17172546e1b 100644 |
18 |
--- a/dev-perl/IO-Digest/IO-Digest-0.110.0-r2.ebuild |
19 |
+++ b/dev-perl/IO-Digest/IO-Digest-0.110.0-r2.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=5 |
26 |
@@ -18,3 +18,9 @@ RDEPEND=">=dev-perl/PerlIO-via-dynamic-0.10 |
27 |
DEPEND="${RDEPEND}" |
28 |
|
29 |
SRC_TEST="do" |
30 |
+ |
31 |
+src_prepare() { |
32 |
+ sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || |
33 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
34 |
+ perl-module_src_prepare |
35 |
+} |