From: Kent Fredric Date: Mon, 19 Jun 2017 21:21:56 +0000 (+1200) Subject: dev-perl/Curses-UI: Fix for '.' in @INC re bug #615110 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e3709c2db65807a0444a5332353a8285829d447;p=gentoo.git 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 --- 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 9ce34eb9d707..f316f73d7288 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 }