diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2012-06-04 13:47:44 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-18 17:33:04 +0100 |
commit | e0a70547069fe7e8a2d6bdaffc985fb172d46c31 (patch) | |
tree | f3619beaea7feec3fa9ac101b66676460811cd43 /meta/recipes-devtools/perl/perl_5.14.2.bb | |
parent | 83b53d32eb57c644d5a03a4b278d717a81ca7375 (diff) | |
download | poky-e0a70547069fe7e8a2d6bdaffc985fb172d46c31.tar.gz |
perl: Allow perl to cross build and native build in a directory named "t"
If any directory in leading up to your tmp directory has the name "t"
perl will fail to build with a very cryptic error shown below:
pod/buildtoc: no pods at pod/buildtoc line 305.
make[1]: *** [pod/perltoc.pod] Error 255
This is a result of the perl file checking making an assumption
that it is only looking at files and directories with in the perl
source directory. This assumption fails with the way bitbake
sets up perl to properly cross compile.
(From OE-Core rev: f8a054aca9962ebfd4c74fc1d34cd684de6b3568)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.14.2.bb')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.14.2.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb index 809fc72d33..2452a4407e 100644 --- a/meta/recipes-devtools/perl/perl_5.14.2.bb +++ b/meta/recipes-devtools/perl/perl_5.14.2.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ | |||
7 | # We need gnugrep (for -I) | 7 | # We need gnugrep (for -I) |
8 | DEPENDS = "virtual/db grep-native" | 8 | DEPENDS = "virtual/db grep-native" |
9 | DEPENDS += "gdbm zlib" | 9 | DEPENDS += "gdbm zlib" |
10 | PR = "r6" | 10 | PR = "r7" |
11 | 11 | ||
12 | # 5.10.1 has Module::Build built-in | 12 | # 5.10.1 has Module::Build built-in |
13 | PROVIDES += "libmodule-build-perl" | 13 | PROVIDES += "libmodule-build-perl" |
@@ -65,6 +65,7 @@ SRC_URI = "http://www.cpan.org/src/5.0/perl-${PV}.tar.gz \ | |||
65 | file://perl-enable-gdbm.patch \ | 65 | file://perl-enable-gdbm.patch \ |
66 | file://cross-generate_uudmap.patch \ | 66 | file://cross-generate_uudmap.patch \ |
67 | file://fix_bad_rpath.patch \ | 67 | file://fix_bad_rpath.patch \ |
68 | file://perl-build-in-t-dir.patch \ | ||
68 | \ | 69 | \ |
69 | file://config.sh \ | 70 | file://config.sh \ |
70 | file://config.sh-32 \ | 71 | file://config.sh-32 \ |