diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-06-20 06:21:01 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-06-20 06:21:14 +1200 |
commit | 0e9d3e2c0f3b7d4c2b263d3019047de21e74bc2d (patch) | |
tree | 6359af6fc0f590a3cea290f1c99c33930accb28e /dev-perl | |
parent | net-libs/openslp: keyword ~arm64 (diff) | |
download | gentoo-0e9d3e2c0f3b7d4c2b263d3019047de21e74bc2d.tar.gz gentoo-0e9d3e2c0f3b7d4c2b263d3019047de21e74bc2d.tar.bz2 gentoo-0e9d3e2c0f3b7d4c2b263d3019047de21e74bc2d.zip |
dev-perl/CGI-PSGI: Fix for '.' in @INC re bug #615136
Generic Module::Install Fix for Perl 5.26
Bug: https://bugs.gentoo.org/615136
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild b/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild index 6846c41479bc..976c02bc9195 100644 --- a/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild +++ b/dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild @@ -23,3 +23,9 @@ DEPEND="${RDEPEND} " SRC_TEST="do" + +src_prepare() { + 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 +} |