Skip to contentSkip to conversation

Fix a perl test issue of LSB.

PATCH New Jingdong Lu 1 participant 2 messages Mar 8, 2011

lore
Share & tools
lore
#0 lore raw

cover Fix a perl test issue of LSB.

From: Jingdong Lu <[email protected]>

Fix Perl test failure of LSB. [bug 794]

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: jingdonglu/distro
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro

Thanks,
Jingdong Lu <[email protected]>
---

Jingdong Lu (1):
perl: Fix Perl test failure of LSB. [bug 794]

 meta/recipes-devtools/perl/perl_5.12.2.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
#1 lore raw

PATCH 1/1 perl: Fix Perl test failure of LSB. [bug 794]

From: Jingdong Lu <[email protected]>

When running perl test of LSB check, $Config(ccflags_nolargefiles) will find the argument and the value of "ccflags_nolargefiles" in Config_heavy.pl. So we retain the "ccflags_uselargefiles". [BUGID: 794]

---
 meta/recipes-devtools/perl/perl_5.12.2.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
meta/recipes-devtools/perl/perl_5.12.2.bb +1 -2
index 18fad18..7621674 100644
@@ -8,7 +8,7 @@ PRIORITY = "optional"
 # We need gnugrep (for -I)
 DEPENDS = "virtual/db perl-native-${PV} grep-native"
 DEPENDS += "gdbm zlib"
-PR = "r2"
+PR = "r3"
 
 # 5.10.1 has Module::Build built-in
 PROVIDES += "libmodule-build-perl"
@@ -93,7 +93,6 @@ do_nolargefile() {
 	sed -i -e "s,\(uselargefiles=\)'define',\1'undef',g" \
 		-e "s,\(d_readdir64_r=\)'define',\1'undef',g" \
 		-e "s,\(readdir64_r_proto=\)'\w+',\1'0',g" \
-		-e "/ccflags_uselargefiles/d" \
 		-e "s/-Duselargefiles//" \
 		-e "s/-D_FILE_OFFSET_BITS=64//" \
 		-e "s/-D_LARGEFILE_SOURCE//" \
Signature · 1 line
1.7.0.4