summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-26 14:50:23 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-26 14:54:34 +1200
commite3407ff05f68a430f77c566cfe933d1c2d4dd0f5 (patch)
tree4123ee1617fbb39d27ab8791e65b1c7fdc01231b /dev-perl/Encode-HanExtra
parentdev-perl/Email-Address-List: Fix for '.' in @INC re bug #615820 (diff)
downloadgentoo-e3407ff05f68a430f77c566cfe933d1c2d4dd0f5.tar.gz
gentoo-e3407ff05f68a430f77c566cfe933d1c2d4dd0f5.tar.bz2
gentoo-e3407ff05f68a430f77c566cfe933d1c2d4dd0f5.zip
dev-perl/Encode-HanExtra: Fix for '.' in @INC re bug #615840
Generic Module::Install fix for 5.26 Bug: https://bugs.gentoo.org/615840 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Encode-HanExtra')
-rw-r--r--dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r1.ebuild b/dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r1.ebuild
index a960cfb2076d..d7718acbc88c 100644
--- a/dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r1.ebuild
+++ b/dev-perl/Encode-HanExtra/Encode-HanExtra-0.230.0-r1.ebuild
@@ -18,3 +18,9 @@ DEPEND="virtual/perl-Encode"
RDEPEND="${DEPEND}"
#SRC_TEST="do"
+
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}