commit:     5e4fe1c5d34d4929d8360778898c9c30243beb37
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 13 09:49:47 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Jun 13 09:50:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e4fe1c5

dev-perl/asa: Fix for '.' in @INC re bug #614344

Fix Module::Install dependency on '.'

Bug: https://bugs.gentoo.org/614344
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/asa/asa-1.30.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-perl/asa/asa-1.30.0.ebuild b/dev-perl/asa/asa-1.30.0.ebuild
index 181a896699c..ac7be2e0280 100644
--- a/dev-perl/asa/asa-1.30.0.ebuild
+++ b/dev-perl/asa/asa-1.30.0.ebuild
@@ -21,3 +21,8 @@ DEPEND="${RDEPEND}
                >=virtual/perl-Test-Simple-0.470.0
        )
 "
+src_prepare() {
+       sed -i -e 's/use inc::Module::Install::DSL;/use lib q[.]; use 
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