From 264f7ab1f41cc86d29716619d67506c85223df71 Mon Sep 17 00:00:00 2001 From: Roman I Khimov Date: Mon, 22 Nov 2010 17:23:55 +0300 Subject: 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 Acked-by: Khem Raj --- classes/cpan.bbclass | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'classes/cpan.bbclass') diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 24e0c6e326..b81ae9ad46 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -3,16 +3,6 @@ # inherit cpan-base -EXTRA_CPANFLAGS ?= "" - -# Env var which tells perl if it should use host (no) or target (yes) settings -export PERLCONFIGTARGET = "${@is_target(d)}" - -# Env var which tells perl where the perl include files are -export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE" -export PERL_LIB = "${STAGING_DATADIR}/perl/${@get_perl_version(d)}" -export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}" - NATIVE_INSTALL_WORKS = "1" cpan_do_configure () { -- cgit 1.2.3-korg