summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/files
diff options
context:
space:
mode:
authorAwais Belal <Awais_Belal@mentor.com>2021-03-30 12:29:22 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-05 15:29:02 +0100
commitf0b09b95effae4428e8521230384b2718ccea6bb (patch)
tree2ada413a0f877c299804e84db38f745b3c19fa71 /meta/recipes-devtools/perl/files
parent6a0bac1fa9971bae8e0af405dc72aa72be511bd3 (diff)
downloadpoky-f0b09b95effae4428e8521230384b2718ccea6bb.tar.gz
perl: fix creation and generate new perl-rdepends.txt
The creation of perl-rdepends.txt simply copied over the generated list (perl-rdepends.generated) to perl-rdepends.txt while missing out the manual dependencies placed in perl-rdepends.inc. This caused missing runtime dependencies. Additionally, the mechanism always appended which then produced duplicated lines in perl-rdepends.txt if the creation function is run multiple times. We now concatenate both the .inc and .generated to the final .txt so manual and generated both types of dependencies make it to the final configuration. A new perl-rdepends.txt is then generated with these fixes. (From OE-Core rev: 61d6584eeadb42943a020c4168f398e7abb377e2) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/files')
-rw-r--r--meta/recipes-devtools/perl/files/perl-rdepends.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/files/perl-rdepends.txt b/meta/recipes-devtools/perl/files/perl-rdepends.txt
index e7cd551988..f20fc44b58 100644
--- a/meta/recipes-devtools/perl/files/perl-rdepends.txt
+++ b/meta/recipes-devtools/perl/files/perl-rdepends.txt
@@ -1,3 +1,11 @@
1
2# Some additional dependencies that the above doesn't manage to figure out
3RDEPENDS_perl-module-file-spec += "perl-module-file-spec-unix"
4RDEPENDS_perl-module-math-bigint += "perl-module-math-bigint-calc"
5RDEPENDS_perl-module-thread-queue += "perl-module-attributes"
6RDEPENDS_perl-module-overload += "perl-module-overloading"
7
8# Generated depends list beyond this line
1RDEPENDS_perl-module-anydbm-file += "perl-module-strict" 9RDEPENDS_perl-module-anydbm-file += "perl-module-strict"
2RDEPENDS_perl-module-anydbm-file += "perl-module-warnings" 10RDEPENDS_perl-module-anydbm-file += "perl-module-warnings"
3RDEPENDS_perl-module-app-cpan += "perl-module-config" 11RDEPENDS_perl-module-app-cpan += "perl-module-config"