From 76e3e6e123c6b2a64905a32e5181e647107e562d Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Mon, 10 Nov 2008 21:24:04 +0000 Subject: perl and cpan.bbclass: Never reference to host instance of perl: * install MakeMaker files separately for native and target system * PERL_INC, PERL_LIB and PERL_ARCHLIB changes through environment * for more see http://lists.linuxtogo.org/pipermail/openembedded-devel/2008-November/006815.html --- packages/perl/perl_5.8.8.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages/perl/perl_5.8.8.bb') diff --git a/packages/perl/perl_5.8.8.bb b/packages/perl/perl_5.8.8.bb index 8c00a61536..2118bba68f 100644 --- a/packages/perl/perl_5.8.8.bb +++ b/packages/perl/perl_5.8.8.bb @@ -139,11 +139,15 @@ do_install() { do_stage() { install -d ${STAGING_DIR_HOST}/perl \ ${STAGING_LIBDIR_NATIVE}/perl/${PV} \ - ${STAGING_LIBDIR}/perl/${PV}/CORE + ${STAGING_LIBDIR}/perl/${PV}/CORE \ + ${STAGING_DATADIR}/perl/${PV}/ExtUtils # target config, used by cpan.bbclass to extract version information install config.sh ${STAGING_DIR_HOST}/perl/ # target configuration, used by native perl when cross-compiling install lib/Config_heavy.pl ${STAGING_LIBDIR_NATIVE}/perl/${PV}/Config_heavy-target.pl + # target configuration + install lib/Config.pm ${STAGING_LIBDIR}/perl/${PV}/ + install lib/ExtUtils/typemap ${STAGING_DATADIR}/perl/${PV}/ExtUtils/ # perl shared library headers for i in av.h embed.h gv.h keywords.h op.h perlio.h pp.h regexp.h \ uconfig.h XSUB.h cc_runtime.h embedvar.h handy.h opnames.h \ -- cgit v1.2.3