]> git.openpandora.org Git - openembedded.git/commitdiff
cpan.bbclass: Building cpan modules needs to depend on both perl and
authorJamie Lenehan <lenehan@twibble.org>
Wed, 2 May 2007 02:10:55 +0000 (02:10 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Wed, 2 May 2007 02:10:55 +0000 (02:10 +0000)
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.

classes/cpan.bbclass

index 687dbcd1cb44bd7a50d708227d44d0cf2c2e41a8..410a1c65029de08673d64c30259505344a3076e0 100644 (file)
@@ -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