diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-03-11 14:34:09 +0800 |
---|---|---|
committer | Ross Burton <ross.burton@intel.com> | 2013-04-23 10:38:45 +0100 |
commit | 4c2e03d9c078c72eb82cf9b9604cb7256387ccbe (patch) | |
tree | 716471f6e63d7f32525626b1cc58b520ffc9dc89 /meta/recipes-devtools/quilt | |
parent | b82d85633fd8a364eb6b3193ef1f8d5744572202 (diff) | |
download | openembedded-core-4c2e03d9c078c72eb82cf9b9604cb7256387ccbe.tar.gz |
perl_5.14.2.bb: fix dependecies
This patch fixes 2 problems.
The first one is that when run "perl -V" on target, it fails with lack
of some .pm files. So add these perl module files to package perl itself
to fix this failure.
The second problem is that package nativesdk-perl-modules doesn't depends
on the single perl modules.
In the .bb file, dependencies of perl-modules are set by:
RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}"
The PACKAGES would be reset by do_split_packages since:
PACKAGES_DYNAMIC = "perl-module-*"
PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*"
Then:
1) The target perl-modules RRECOMMENDS on perl-module-*, this is what
we expect.
2) But the nativesdk-perl-modules doesn't RRECOMMENDS on
nativesdk-perl-module-*, this is not what we expect.
The value of PACKAGES after do_split_packages has been set correctly (it
contains the nativesdk-perl-module-* packages)
But the:RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}"
doesn't work correctly for nativesdk, the
d.getVar('RRECOMMENDS_perl-modules', True)
doesn't get the new value of the PACKAGES, it gets the value of PACKAGES
before the do_split_packages.
Cherry-pick commit 51cbb5ae76a22d465e2f6c5ef923ec2682624e3b
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/quilt')
0 files changed, 0 insertions, 0 deletions