From: Kent Fredric Date: Thu, 22 Jun 2017 06:00:20 +0000 (+1200) Subject: dev-perl/Algorithm-Dependency: Fix broken Module::Install::DSL patching X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ff0bfa34a537c641ed23f27ac917518c84c90eae;p=gentoo.git dev-perl/Algorithm-Dependency: 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 --- diff --git a/dev-perl/Algorithm-Dependency/Algorithm-Dependency-1.110.0-r1.ebuild b/dev-perl/Algorithm-Dependency/Algorithm-Dependency-1.110.0-r2.ebuild similarity index 84% rename from dev-perl/Algorithm-Dependency/Algorithm-Dependency-1.110.0-r1.ebuild rename to dev-perl/Algorithm-Dependency/Algorithm-Dependency-1.110.0-r2.ebuild index 216091caba70..a8989ee19d17 100644 --- a/dev-perl/Algorithm-Dependency/Algorithm-Dependency-1.110.0-r1.ebuild +++ b/dev-perl/Algorithm-Dependency/Algorithm-Dependency-1.110.0-r2.ebuild @@ -21,7 +21,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 }