* [PATCH 0/1] perl / PathTools: don't filter out blib from @INC
@ 2015-02-11 10:06 wenzong.fan
2015-02-11 10:06 ` [PATCH 1/1] " wenzong.fan
0 siblings, 1 reply; 2+ messages in thread
From: wenzong.fan @ 2015-02-11 10:06 UTC (permalink / raw)
To: openembedded-core
From: Wenzong Fan <wenzong.fan@windriver.com>
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
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] perl / PathTools: don't filter out blib from @INC
2015-02-11 10:06 [PATCH 0/1] perl / PathTools: don't filter out blib from @INC wenzong.fan
@ 2015-02-11 10:06 ` wenzong.fan
0 siblings, 0 replies; 2+ messages in thread
From: wenzong.fan @ 2015-02-11 10:06 UTC (permalink / raw)
To: openembedded-core
From: Wenzong Fan <wenzong.fan@windriver.com>
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
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
...-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
diff --git a/meta/recipes-devtools/perl/perl-5.20.0/perl-PathTools-don-t-filter-out-blib-from-INC.patch b/meta/recipes-devtools/perl/perl-5.20.0/perl-PathTools-don-t-filter-out-blib-from-INC.patch
new file mode 100644
index 0000000..7dd9041
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.20.0/perl-PathTools-don-t-filter-out-blib-from-INC.patch
@@ -0,0 +1,33 @@
+From 90c252cecc38aed5d5faedb30485dd6eee2e54eb Mon Sep 17 00:00:00 2001
+From: Wenzong Fan <wenzong.fan@windriver.com>
+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 <wenzong.fan@windriver.com>
+---
+ 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
+
diff --git a/meta/recipes-devtools/perl/perl-native_5.20.0.bb b/meta/recipes-devtools/perl/perl-native_5.20.0.bb
index 586a347..c8cdad7 100644
--- a/meta/recipes-devtools/perl/perl-native_5.20.0.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.20.0.bb
@@ -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"
diff --git a/meta/recipes-devtools/perl/perl_5.20.0.bb b/meta/recipes-devtools/perl/perl_5.20.0.bb
index db65202..a99b3c8 100644
--- a/meta/recipes-devtools/perl/perl_5.20.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.20.0.bb
@@ -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
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-11 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 10:06 [PATCH 0/1] perl / PathTools: don't filter out blib from @INC wenzong.fan
2015-02-11 10:06 ` [PATCH 1/1] " wenzong.fan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox