perl / PathTools: don't filter out blib from @INC
cover perl / PathTools: don't filter out blib from @INC
From: Wenzong Fan <[email protected]>
If $TOPDIR includes the string "blib", filter it out from @INC may empty the @INC and cause build errors like:
Can't locate ExtUtils/MakeMaker.pm in @INC \ (you may need to install the ExtUtils::MakeMaker module) \ (@INC contains: .) at Makefile.PL
The following changes since commit 231d4a9d3d89af4b1b5f6ea439c630e4cac82079:
bitbake: bitbake-user-manual: Removed errant writer note line. (2015-02-10 23:09:32 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib wenzong/perl
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/perl
Wenzong Fan (1):
perl / PathTools: don't filter out blib from @INC
...-PathTools-don-t-filter-out-blib-from-INC.patch | 33 ++++++++++++++++++++++ meta/recipes-devtools/perl/perl-native_5.20.0.bb | 4 ++- meta/recipes-devtools/perl/perl_5.20.0.bb | 1 + 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/perl/perl-5.20.0/perl-PathTools-don-t-filter-out-blib-from-INC.patch
Signature · 1 line
1.9.1
PATCH 1/1 perl / PathTools: don't filter out blib from @INC
From: Wenzong Fan <[email protected]>
If $TOPDIR includes the string "blib", filter it out from @INC may empty the @INC and cause build errors like:
Can't locate ExtUtils/MakeMaker.pm in @INC \ (you may need to install the ExtUtils::MakeMaker module) \ (@INC contains: .) at Makefile.PL
--- ...-PathTools-don-t-filter-out-blib-from-INC.patch | 33 ++++++++++++++++++++++ meta/recipes-devtools/perl/perl-native_5.20.0.bb | 4 ++- meta/recipes-devtools/perl/perl_5.20.0.bb | 1 + 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/perl/perl-5.20.0/perl-PathTools-don-t-filter-out-blib-from-INC.patch
meta/recipes-devtools/perl/perl-5.20.0/perl-PathTools-don-t-filter-out-blib-from-INC.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 90c252cecc38aed5d5faedb30485dd6eee2e54eb Mon Sep 17 00:00:00 2001 +From: Wenzong Fan <[email protected]> +Date: Wed, 11 Feb 2015 15:14:40 +0800 +Subject: [PATCH] perl / PathTools: don't filter out blib from @INC + +If $TOPDIR includes the string "blib", filter it out from @INC may empty +the @INC and cause build errors like: + + Can't locate ExtUtils/MakeMaker.pm in @INC \ + (you may need to install the ExtUtils::MakeMaker module) \ + (@INC contains: .) at Makefile.PL + +Upstream-Status: Pending + +Signed-off-by: Wenzong Fan <[email protected]> +--- + dist/PathTools/Makefile.PL | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/dist/PathTools/Makefile.PL b/dist/PathTools/Makefile.PL +index 1b21de4..f562cb2 100644 +--- a/dist/PathTools/Makefile.PL ++++ b/dist/PathTools/Makefile.PL +@@ -1,6 +1,3 @@ +- +-BEGIN { @INC = grep {!/blib/} @INC } +- + require 5.005; + use ExtUtils::MakeMaker; + WriteMakefile +-- +1.9.1 +
meta/recipes-devtools/perl/perl-native_5.20.0.bb +3 -1
@@ -17,7 +17,9 @@ SRC_URI = "http://www.cpan.org/src/5.0/perl-${PV}.tar.gz \ file://MM_Unix.pm.patch \ file://debian/errno_ver.diff \ file://dynaloaderhack.patch \ - file://perl-5.14.3-fix-CVE-2010-4777.patch " + file://perl-5.14.3-fix-CVE-2010-4777.patch \ + file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ + " SRC_URI[md5sum] = "406ec049ebe3afcc80d9c76ec78ca4f8" SRC_URI[sha256sum] = "4e8c28ad6ecc89902f9cb2e76f2815bb1a8287ded278e15f7a36ca45f8bbcd02"
meta/recipes-devtools/perl/perl_5.20.0.bb +1 -0
@@ -76,6 +76,7 @@ SRC_URI += " \ file://perl-5.14.3-fix-CVE-2010-4777.patch \ file://0001-Makefile.SH-fix-do_install-failed.patch \ file://make_ext.pl-fix-regenerate-makefile-failed-while-cc-.patch \ + file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ " # Fix test case issues
Signature · 1 line
1.9.1