commit:     86b557e4ca65272254d681988eff483908f02246
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 22 06:03:26 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Jun 22 06:31:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b557e4

dev-perl/asa: 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

 dev-perl/asa/{asa-1.30.0.ebuild => asa-1.30.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/asa/asa-1.30.0.ebuild b/dev-perl/asa/asa-1.30.0-r1.ebuild
similarity index 84%
rename from dev-perl/asa/asa-1.30.0.ebuild
rename to dev-perl/asa/asa-1.30.0-r1.ebuild
index ac7be2e0280..f480c774670 100644
--- a/dev-perl/asa/asa-1.30.0.ebuild
+++ b/dev-perl/asa/asa-1.30.0-r1.ebuild
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}
        )
 "
 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
 }

Reply via email to