mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user