summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-14 20:04:15 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-14 20:04:47 +1200
commit01eac820c117144403e9ae058ead79060d2d7b3f (patch)
treed7c3615a94269a437d8b4a2e219d0b835a3f9868 /dev-perl/AnyEvent
parentkde-misc/kdiff3: amd64 stable wrt bug #621398 (diff)
downloadgentoo-01eac820c117144403e9ae058ead79060d2d7b3f.tar.gz
gentoo-01eac820c117144403e9ae058ead79060d2d7b3f.tar.bz2
gentoo-01eac820c117144403e9ae058ead79060d2d7b3f.zip
dev-perl/AnyEvent: Fix for '.' in @INC re bug #614640
Force 'do' to use a relative path for compile time resolution instead of searching @INC and failing on Perl 5.26 Bug: https://bugs.gentoo.org/614640 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/AnyEvent')
-rw-r--r--dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild1
-rw-r--r--dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild3
-rw-r--r--dev-perl/AnyEvent/files/no-dot-inc.patch28
3 files changed, 31 insertions, 1 deletions
diff --git a/dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild b/dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild
index 2fcf1ab63f82..c62813ecd1f2 100644
--- a/dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild
+++ b/dev-perl/AnyEvent/AnyEvent-7.120.0.ebuild
@@ -18,3 +18,4 @@ DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.520.0
dev-perl/Canary-Stability
"
+PATCHES=("${FILESDIR}/no-dot-inc.patch")
diff --git a/dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild b/dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild
index f0d5fd6fbd57..3d12dacaf2b3 100644
--- a/dev-perl/AnyEvent/AnyEvent-7.130.0.ebuild
+++ b/dev-perl/AnyEvent/AnyEvent-7.130.0.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=6
@@ -18,3 +18,4 @@ DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.520.0
dev-perl/Canary-Stability
"
+PATCHES=("${FILESDIR}/no-dot-inc.patch")
diff --git a/dev-perl/AnyEvent/files/no-dot-inc.patch b/dev-perl/AnyEvent/files/no-dot-inc.patch
new file mode 100644
index 000000000000..ce0efa5b8ce5
--- /dev/null
+++ b/dev-perl/AnyEvent/files/no-dot-inc.patch
@@ -0,0 +1,28 @@
+From 6fec7931344cc37c9532e8c455ee7f7bf62b9419 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Wed, 14 Jun 2017 19:56:48 +1200
+Subject: [PATCH] Fix "do" for '.' in @INC removal
+
+Trivial fix for:
+
+- http://lists.schmorp.de/pipermail/anyevent/2017q1/000859.html
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index ef2ab4a..70b30b0 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -22,7 +22,7 @@ print <<EOF;
+
+ EOF
+
+-do "constants.pl.PL"
++do "./constants.pl.PL"
+ or die "cannot execute constants.pl.PL: $@";
+
+ WriteMakefile(
+--
+2.13.1
+