]> code.ossystems Code Review - openembedded-core.git/commit
perl: Allow perl to cross build and native build in a directory named "t"
authorJason Wessel <jason.wessel@windriver.com>
Mon, 4 Jun 2012 18:47:44 +0000 (13:47 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Jun 2012 22:02:20 +0000 (23:02 +0100)
commitf8a054aca9962ebfd4c74fc1d34cd684de6b3568
tree9925a6c9e85725eeb17a9e03107d5904840dbdc3
parent13e52fafae0fb06b26d179a5cac6898babbadc51
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.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl-5.14.2/perl-build-in-t-dir.patch [new file with mode: 0644]
meta/recipes-devtools/perl/perl-native_5.14.2.bb
meta/recipes-devtools/perl/perl_5.14.2.bb