summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-25 20:14:54 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-25 20:15:52 +1200
commit7eb24799e3139908524ca27b37b671f876dcc078 (patch)
tree921bbf8e1232e18bbed65a18b456f08b10bc1ece /dev-perl/Date-Extract
parentmedia-plugins/gst-plugins-x264: ia64 stable, bug #611736 (diff)
downloadgentoo-7eb24799e3139908524ca27b37b671f876dcc078.tar.gz
gentoo-7eb24799e3139908524ca27b37b671f876dcc078.tar.bz2
gentoo-7eb24799e3139908524ca27b37b671f876dcc078.zip
dev-perl/Date-Extract: Fix for '.' in @INC re bug #615626
Generic Module::Install fix Bug: https://bugs.gentoo.org/615626 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Date-Extract')
-rw-r--r--dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild8
-rw-r--r--dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild6
2 files changed, 13 insertions, 1 deletions
diff --git a/dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild b/dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild
index 6c7e10ed17f6..c66c875868d9 100644
--- a/dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild
+++ b/dev-perl/Date-Extract/Date-Extract-0.40.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -25,3 +25,9 @@ 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
+}
diff --git a/dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild b/dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild
index f7d09ea20a0e..693d51225f81 100644
--- a/dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild
+++ b/dev-perl/Date-Extract/Date-Extract-0.50.0.ebuild
@@ -27,3 +27,9 @@ DEPEND="${RDEPEND}
virtual/perl-Test-Simple
)
"
+
+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
+}