summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-13 21:49:47 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-13 21:50:18 +1200
commit5e4fe1c5d34d4929d8360778898c9c30243beb37 (patch)
treedc79fbeb1d790b3c5923ef8043ee0813ed1b330d /dev-perl/asa
parentnet-p2p/deluge: Cleanup of 1.3.14 (diff)
downloadgentoo-5e4fe1c5d34d4929d8360778898c9c30243beb37.tar.gz
gentoo-5e4fe1c5d34d4929d8360778898c9c30243beb37.tar.bz2
gentoo-5e4fe1c5d34d4929d8360778898c9c30243beb37.zip
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
Diffstat (limited to 'dev-perl/asa')
-rw-r--r--dev-perl/asa/asa-1.30.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-perl/asa/asa-1.30.0.ebuild b/dev-perl/asa/asa-1.30.0.ebuild
index 181a896699c2..ac7be2e02808 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
+}