1 |
commit: 762410fdd4257eabcaa139f2526882893f665b5b |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 27 08:51:12 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 27 16:54:23 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=762410fd |
7 |
|
8 |
dev-perl/GnuPG-Interface: Fix for '.' in @INC re bug #616908 |
9 |
|
10 |
Generic Module::Install fix |
11 |
|
12 |
Bug: https://bugs.gentoo.org/616908 |
13 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
14 |
|
15 |
dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r1.ebuild | 8 +++++++- |
16 |
dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r2.ebuild | 6 ++++++ |
17 |
2 files changed, 13 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r1.ebuild b/dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r1.ebuild |
20 |
index 7d2fba45cc2..8553aec739c 100644 |
21 |
--- a/dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r1.ebuild |
22 |
+++ b/dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r1.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2016 Gentoo Foundation |
25 |
+# Copyright 1999-2017 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=5 |
29 |
@@ -25,3 +25,9 @@ DEPEND="${RDEPEND} |
30 |
>=virtual/perl-ExtUtils-MakeMaker-6.360.0 |
31 |
" |
32 |
SRC_TEST="do" |
33 |
+ |
34 |
+src_prepare() { |
35 |
+ sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL || |
36 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
37 |
+ perl-module_src_prepare |
38 |
+} |
39 |
|
40 |
diff --git a/dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r2.ebuild b/dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r2.ebuild |
41 |
index fa04802748c..509504e792d 100644 |
42 |
--- a/dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r2.ebuild |
43 |
+++ b/dev-perl/GnuPG-Interface/GnuPG-Interface-0.520.0-r2.ebuild |
44 |
@@ -56,3 +56,9 @@ DIST_TEST=skip |
45 |
# t/decrypt.t (Wstat: 0 Tests: 6 Failed: 2) |
46 |
# Failed tests: 5-6 |
47 |
# Failed 1/22 test programs. 2/56 subtests failed. |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL || |
51 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
52 |
+ perl-module_src_prepare |
53 |
+} |