perl 5.8.8: Fix to tell bitbake about the perl module packages. I'd left out
authorJamie Lenehan <lenehan@twibble.org>
Tue, 1 May 2007 16:21:30 +0000 (16:21 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Tue, 1 May 2007 16:21:30 +0000 (16:21 +0000)
the PACKAGES_DYNAMIC declaration for the perl modules. This declaration
appears to be global though - so if either of the older perl versions exist
it actually works - bitbake picks up the definition from the older recipes
even though it isn't building them. This shows up as "No providers of
runtime build target <x>" errors where x is a perl module. Thanks to Koen
for figuring this one out.

packages/perl/perl_5.8.8.bb

index 7f24161..1f77518 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
 PRIORITY = "optional"
 # We need gnugrep (for -I)
 DEPENDS = "virtual/db perl-native grep-native"
-PR = "r9"
+PR = "r10"
 
 # Major part of version
 PVM = "5.8"
@@ -185,6 +185,8 @@ python populate_packages_prepend () {
         do_split_packages(d, datadir, '(.*)\.(pm|pl|e2x)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
 }
 
+PACKAGES_DYNAMIC = "perl-module-*"
+
 require perl-rdepends_${PV}.inc
 require perl-rprovides.inc