perl-rprovides: Fix perl-module-config anf perl-module-build providers
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Jan 2013 23:50:10 +0000 (23:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 12:42:42 +0000 (12:42 +0000)
The rearrangement of various file contents left these empty modules which
don't get packaged and hence lead to image creation errors on anything using
them. This patch ensures the dependencies are attached to the packages
which contain the config files or the build module infrastructure as
appropriate. It also resolves some confusion over whether the name is
perl-module-build or perl-module-module-build, the latter being the
autogenerated dependency which previously couldn't be found.

(From OE-Core rev: 442f161ecd498513b72e7f1ca2668325c9389d24)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl-rprovides.inc

index 637c993..3cfcb7d 100644 (file)
@@ -5,6 +5,7 @@
 RPROVIDES_perl-module-b-asmdata = "perl-module-${TARGET_SYS}-b-asmdata"
 RPROVIDES_perl-module-b-assembler = "perl-module-${TARGET_SYS}-b-assembler"
 RPROVIDES_perl-module-b-bblock = "perl-module-${TARGET_SYS}-b-bblock"
+RPROVIDES_perl-module-build += "perl-module-module-build"
 RPROVIDES_perl-module-b-bytecode = "perl-module-${TARGET_SYS}-b-bytecode"
 RPROVIDES_perl-module-b-cc = "perl-module-${TARGET_SYS}-b-cc"
 RPROVIDES_perl-module-b-concise = "perl-module-${TARGET_SYS}-b-concise"
@@ -17,8 +18,11 @@ RPROVIDES_perl-module-b-stackobj = "perl-module-${TARGET_SYS}-b-stackobj"
 RPROVIDES_perl-module-b-stash = "perl-module-${TARGET_SYS}-b-stash"
 RPROVIDES_perl-module-b-terse = "perl-module-${TARGET_SYS}-b-terse"
 RPROVIDES_perl-module-b-xref = "perl-module-${TARGET_SYS}-b-xref"
-RPROVIDES_perl-module-config = "perl-module-${TARGET_SYS}-config"
-RPROVIDES_perl-module-config-heavy = "perl-module-${TARGET_SYS}-config-heavy"
+RPROVIDES_perl-lib += " \
+    perl-module-config \
+    perl-module-config-heavy \
+    perl-module-${TARGET_SYS}-config \
+    perl-module-${TARGET_SYS}-config-heavy"
 RPROVIDES_perl-module-encode-alias = "perl-module-${TARGET_SYS}-encode-alias"
 RPROVIDES_perl-module-encode-cjkconstants = "perl-module-${TARGET_SYS}-encode-cjkconstants"
 RPROVIDES_perl-module-encode-config = "perl-module-${TARGET_SYS}-encode-config"