dev-perl/Class-Autouse: Fix broken Module::Install::DSL patching

For some rediculous reason, this module changes everything about Perl,
so optional newlines cease to be optional.

Additionally, this causes configure to exit true, but fail to configure.

And this breaks install time, necessitating an -r1 bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Kent Fredric
2017-06-22 18:26:54 +12:00
parent 86b557e4ca
commit cdb1bbe6d4

View File

@@ -19,7 +19,7 @@ DEPEND="${RDEPEND}"
SRC_TEST="do"
src_prepare() {
sed -i -e 's/use inc::Module::Install::DSL /use lib q[.]; use inc::Module::Install::DSL /' Makefile.PL ||
sed -i -e 's/use inc::Module::Install::DSL /use lib q[.];\nuse inc::Module::Install::DSL /' Makefile.PL ||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
perl-module_src_prepare
}