dev-perl/Algorithm-Dependency: Fix broken Module::Install::DSL patching
authorKent Fredric <kentnl@gentoo.org>
Thu, 22 Jun 2017 06:00:20 +0000 (18:00 +1200)
committerKent Fredric <kentnl@gentoo.org>
Thu, 22 Jun 2017 06:31:09 +0000 (18:31 +1200)
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

dev-perl/Algorithm-Dependency/Algorithm-Dependency-1.110.0-r2.ebuild [moved from dev-perl/Algorithm-Dependency/Algorithm-Dependency-1.110.0-r1.ebuild with 84% similarity]

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 216091caba708e3d59751eb4694d8947c7de5f97..a8989ee19d17beeb18c137ed7ef9d81a0f9af117 100644 (file)
@@ -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
 }