diff options
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.22.1.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.22.1.bb b/meta/recipes-devtools/perl/perl_5.22.1.bb index bf8b3b60be..f955e6ff4b 100644 --- a/meta/recipes-devtools/perl/perl_5.22.1.bb +++ b/meta/recipes-devtools/perl/perl_5.22.1.bb | |||
@@ -340,7 +340,9 @@ FILES_perl-module-unicore += "${libdir}/perl/${PV}/unicore" | |||
340 | ALLOW_EMPTY_perl-modules = "1" | 340 | ALLOW_EMPTY_perl-modules = "1" |
341 | PACKAGES_append = " perl-modules " | 341 | PACKAGES_append = " perl-modules " |
342 | 342 | ||
343 | python populate_packages_prepend () { | 343 | PACKAGESPLITFUNCS_prepend = "split_perl_packages " |
344 | |||
345 | python split_perl_packages () { | ||
344 | libdir = d.expand('${libdir}/perl/${PV}') | 346 | libdir = d.expand('${libdir}/perl/${PV}') |
345 | do_split_packages(d, libdir, 'auto/([^.]*)/[^/]*\.(so|ld|ix|al)', 'perl-module-%s', 'perl module %s', recursive=True, match_path=True, prepend=False) | 347 | do_split_packages(d, libdir, 'auto/([^.]*)/[^/]*\.(so|ld|ix|al)', 'perl-module-%s', 'perl module %s', recursive=True, match_path=True, prepend=False) |
346 | do_split_packages(d, libdir, 'Module/([^\/]*)\.pm', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False) | 348 | do_split_packages(d, libdir, 'Module/([^\/]*)\.pm', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False) |