diff options
author | Yu Ke <ke.yu@intel.com> | 2011-07-16 10:00:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 15:27:32 +0100 |
commit | 78396c1719a00d104e48ec6537f5811e3c5619eb (patch) | |
tree | 59df94ba566e3999324f4476f0848eb8a470d727 /meta/recipes-devtools/perl | |
parent | 9fa68e8aea366ded1ebffbacefc4c8d8019fd857 (diff) | |
download | poky-78396c1719a00d104e48ec6537f5811e3c5619eb.tar.gz |
perl: revise the RRECOMMENDS_perl-modules for multilib case
current RRECOMMENDS_perl-modules replace the hardcode "perl-dbg",
"perl-misc" etc. which does not work in multilib case. Instead, it
should replace the "lib64-perl-dbg", "lib-64-perl-misc". without
doing this, current code will produce RRECOMMENDS=lib64-lib64-xxx etc
This patch revise the code to fix this issue
(From OE-Core rev: d76ede1e696d52c08ede8b6e539cb0895ee73b2f)
Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.12.3.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.12.3.bb b/meta/recipes-devtools/perl/perl_5.12.3.bb index c75a5322df..4b6b5a796b 100644 --- a/meta/recipes-devtools/perl/perl_5.12.3.bb +++ b/meta/recipes-devtools/perl/perl_5.12.3.bb | |||
@@ -282,7 +282,7 @@ FILES_perl-module-unicore += "${libdir}/perl/${PV}/unicore" | |||
282 | # packages (actually the non modules packages and not created too) | 282 | # packages (actually the non modules packages and not created too) |
283 | ALLOW_EMPTY_perl-modules = "1" | 283 | ALLOW_EMPTY_perl-modules = "1" |
284 | PACKAGES_append = " perl-modules " | 284 | PACKAGES_append = " perl-modules " |
285 | RRECOMMENDS_perl-modules = "${@bb.data.getVar('PACKAGES', d, 1).replace('perl-modules ', '').replace('perl-dbg ', '').replace('perl-misc ', '').replace('perl-dev ', '').replace('perl-pod ', '').replace('perl-doc ', '')}" | 285 | RRECOMMENDS_perl-modules = "${@bb.data.getVar('PACKAGES', d, 1).replace('${PN}-modules ', '').replace('${PN}-dbg ', '').replace('${PN}-misc ', '').replace('${PN}-dev ', '').replace('${PN}-pod ', '').replace('${PN}-doc ', '')}" |
286 | 286 | ||
287 | python populate_packages_prepend () { | 287 | python populate_packages_prepend () { |
288 | libdir = bb.data.expand('${libdir}/perl/${PV}', d) | 288 | libdir = bb.data.expand('${libdir}/perl/${PV}', d) |