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 687dbcd..410a1c6 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