Skip to content

Commit

Permalink
dev-perl/CGI-PSGI: Fix for '.' in @inc re bug #615136
Browse files Browse the repository at this point in the history
Generic Module::Install Fix for Perl 5.26

Bug: https://bugs.gentoo.org/615136
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
kentfredric committed Jun 19, 2017
1 parent 631c86d commit 0e9d3e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev-perl/CGI-PSGI/CGI-PSGI-0.150.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 0e9d3e2

Please sign in to comment.