summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-15 11:39:14 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-15 11:39:42 +1200
commit1fa1484fc28a0628b79918e6984a3d20faf0a1d1 (patch)
treee8adb04f7f4d1997f7676c6504492011991b1cef /dev-perl/App-perlbrew
parentdev-perl/App-perlbrew: Cleanup old in relation to bug #614670 (diff)
downloadgentoo-1fa1484fc28a0628b79918e6984a3d20faf0a1d1.tar.gz
gentoo-1fa1484fc28a0628b79918e6984a3d20faf0a1d1.tar.bz2
gentoo-1fa1484fc28a0628b79918e6984a3d20faf0a1d1.zip
dev-perl/App-perlbrew: Fix for '.' in @INC re bug #614670
Upstream have patched this themselves, but a release is still pending, so their fix is backported verbatim. Bug: https://bugs.gentoo.org/614670 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/App-perlbrew')
-rw-r--r--dev-perl/App-perlbrew/App-perlbrew-0.780.0.ebuild1
-rw-r--r--dev-perl/App-perlbrew/files/no-dot-inc.patch21
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-perl/App-perlbrew/App-perlbrew-0.780.0.ebuild b/dev-perl/App-perlbrew/App-perlbrew-0.780.0.ebuild
index 6c47d777352b..560e9b7c9b6d 100644
--- a/dev-perl/App-perlbrew/App-perlbrew-0.780.0.ebuild
+++ b/dev-perl/App-perlbrew/App-perlbrew-0.780.0.ebuild
@@ -34,3 +34,4 @@ DEPEND="${RDEPEND}
)
"
mydoc=("doc/notes.org")
+PATCHES=("${FILESDIR}/no-dot-inc.patch")
diff --git a/dev-perl/App-perlbrew/files/no-dot-inc.patch b/dev-perl/App-perlbrew/files/no-dot-inc.patch
new file mode 100644
index 000000000000..872ec138ca19
--- /dev/null
+++ b/dev-perl/App-perlbrew/files/no-dot-inc.patch
@@ -0,0 +1,21 @@
+From de281151995a2f83ead0c272c6a7c35db2d824ca Mon Sep 17 00:00:00 2001
+From: Kang-min Liu <gugod@gugod.org>
+Date: Sat, 10 Jun 2017 16:12:44 +0200
+Subject: [PATCH] deal with the removal of "." in @INC.
+
+---
+ Makefile.PL | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index fce95a70..279c3c09 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,7 @@
++
++use FindBin '$Bin';
++BEGIN { push @INC, $Bin; }
++
+ use inc::Module::Install;
+
+ license 'mit';