perl: fix PERLCONFIGTARGET for multimach builds, move cpan vars
authorRoman I Khimov <khimov@altell.ru>
Mon, 22 Nov 2010 14:23:55 +0000 (17:23 +0300)
committerRoman I Khimov <khimov@altell.ru>
Tue, 28 Dec 2010 19:50:40 +0000 (22:50 +0300)
commit264f7ab1f41cc86d29716619d67506c85223df71
treecda0ceeaa1ef59fc6bd4e3f97e76e2ab2fade228
parent228a1481110bf8e522baca11fef3d682648236fd
perl: fix PERLCONFIGTARGET for multimach builds, move cpan vars

Multimachine builds race staging Config_heavy-target.pl to native directory.
Solve that by changing PERLCONFIGTARGET variable semantics, now it will
contain $TARGET_SYS. Change perl patch and stage functions accordingly.

Also, move PERLCONFIGTARGET and other target-specific variable settings from
cpan to cpan-base as I think they're also useful for cpan_build and anywhere
else cpan-base is needed.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
Acked-by: Khem Raj <raj.khem@gmail.com>
classes/cpan-base.bbclass
classes/cpan.bbclass
classes/cpan_build.bbclass
recipes/perl/perl-5.10.1/perl-configpm-switch.patch
recipes/perl/perl-5.8.8/perl-configpm-switch.patch
recipes/perl/perl-native_5.10.1.bb
recipes/perl/perl-native_5.8.8.bb
recipes/perl/perl_5.10.1.bb
recipes/perl/perl_5.8.8.bb