commit:     8e3709c2db65807a0444a5332353a8285829d447
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 21:21:56 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 21:22:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3709c2

dev-perl/Curses-UI: Fix for '.' in @INC re bug #615110

Generic Module::Install Perl 5.26 fix

Bug: https://bugs.gentoo.org/615110
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/Curses-UI/Curses-UI-0.960.900-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-perl/Curses-UI/Curses-UI-0.960.900-r1.ebuild 
b/dev-perl/Curses-UI/Curses-UI-0.960.900-r1.ebuild
index 9ce34eb9d70..f316f73d728 100644
--- a/dev-perl/Curses-UI/Curses-UI-0.960.900-r1.ebuild
+++ b/dev-perl/Curses-UI/Curses-UI-0.960.900-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -23,5 +23,7 @@ SRC_TEST="do"
 
 src_prepare() {
        use test && perl_rm_files t/05pod.t
+       sed -i -e 's/use inc::Module::Install;/use lib q[.]; use 
inc::Module::Install;/' Makefile.PL ||
+               die "Can't patch Makefile.PL for 5.26 dot-in-inc"
        perl-module_src_prepare
 }

Reply via email to