From: Jamie Lenehan Date: Wed, 2 May 2007 02:10:55 +0000 (+0000) Subject: cpan.bbclass: Building cpan modules needs to depend on both perl and X-Git-Tag: Release-2010-05/1~8868^2~644^2~25 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9d12e48f9c41ee5c0f9ddb82c387a5ce2a17c9a;p=openembedded.git cpan.bbclass: Building cpan modules needs to depend on both perl and perl-native. They are built with perl-native but use the configuration information from perl. This issue wasn't showing up with bitbake 1.6 but is with 1.8.2 where perl is configured and compiled perl but not staged prior to moving on. --- diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 687dbcd1cb..410a1c6502 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -4,7 +4,7 @@ FILES_${PN} += '${libdir}/perl5 ${datadir}/perl5' EXTRA_CPANFLAGS ?= "" -DEPENDS += "perl-native" +DEPENDS += "perl perl-native" RDEPENDS += "perl" # Determine the staged version of perl from the perl configuration file