summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-25 10:46:19 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-25 10:46:19 +1200
commite630944224cf576070350621bef27b403e2f7bd8 (patch)
treec0ce728600859a683762193e74ced53c9b02b94a /dev-perl/Class-C3-Componentised
parentdev-perl/Class-Adapter: Fix for '.' in @INC re bug #615506 (diff)
downloadgentoo-e630944224cf576070350621bef27b403e2f7bd8.tar.gz
gentoo-e630944224cf576070350621bef27b403e2f7bd8.tar.bz2
gentoo-e630944224cf576070350621bef27b403e2f7bd8.zip
dev-perl/Class-C3-Componentised: Fix for '.' in @INC re bug #615508
Generic 5.26 Module::Install Fix Bug: https://bugs.gentoo.org/615508 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Class-C3-Componentised')
-rw-r--r--dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild b/dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild
index 74f80a5e5844..f995f4416714 100644
--- a/dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild
+++ b/dev-perl/Class-C3-Componentised/Class-C3-Componentised-1.1.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -23,6 +23,12 @@ DEPEND="${RDEPEND}
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
+}
+
src_test() {
perl_rm_files t/pod.t t/pod-coverage.t
perl-module_src_test