]> code.ossystems Code Review - openembedded-core.git/commit
perl-rdepends_5.14.2.inc: update dependencies among modules
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 11 Mar 2013 06:16:44 +0000 (14:16 +0800)
committerRoss Burton <ross.burton@intel.com>
Tue, 23 Apr 2013 09:38:44 +0000 (10:38 +0100)
commitc1f5e07406df7ef1c7e960cf9ba9eb38f460f235
treed63ca4d6b64e6ee41370264db19d4da8c7a715ee
parent1f98d3ea9f89347ed841faec65893170c72bb18e
perl-rdepends_5.14.2.inc: update dependencies among modules

Run autoreconf fails because it uses several perl modules and they
requires other perl modules. So update these dependencies for:
perl-module-exporter
perl-module-file-glob
perl-module-file-path
perl-module-file-spec
perl-module-file-stat
perl-module-io-file
perl-module-io-handle
perl-module-io-seekable
perl-module-posix
And RDEPENDS rules in file perl-rdepends_5.14.2.inc don't work for
nativesdk perl module packages. Replace all "perl" with "${PN}" in the
file to fix that.

In nativesdk.bbclass it calls
oe.classextend.NativesdkClassExtender().map_packagevars() to map package
vars include var RDEPENDS. In map_packagevars():
for pkg in (self.d.getVar("PACKAGES", True).split() + [""]):

the value of var "PACKAGES" may not be calculated correctly, so for
all the nativesdk packages created by
  PACKAGES_DYNAMIC_virtclass-nativesdk += "^nativesdk-perl-module-.*"
dependencies are wrong.

Cherry-pick commit f816625bf21348c1b0d887d11a77e7f5010ce76d

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
meta/recipes-devtools/perl/perl-rdepends_5.14.2.inc