diff mbox series

[1/4] perl: add more module RDEPENDS that don't get detected

Message ID 20250324172008.3110176-1-ross.burton@arm.com
State Accepted, archived
Commit 0099694d561dd7cde4a60d6e1410f92f070cdd1e
Headers show
Series [1/4] perl: add more module RDEPENDS that don't get detected | expand

Commit Message

Ross Burton March 24, 2025, 5:20 p.m. UTC
These dependencies are in the source but the dependency generator does
not see them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/perl/files/perl-rdepends.txt | 2 ++
 meta/recipes-devtools/perl/perl_5.40.0.bb          | 2 ++
 2 files changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/perl/files/perl-rdepends.txt b/meta/recipes-devtools/perl/files/perl-rdepends.txt
index 48e5a9de2f1..462456bba08 100644
--- a/meta/recipes-devtools/perl/files/perl-rdepends.txt
+++ b/meta/recipes-devtools/perl/files/perl-rdepends.txt
@@ -1,6 +1,8 @@ 
 
 # Some additional dependencies that the above doesn't manage to figure out
+RDEPENDS:perl-module-file-path += "perl-module-file-spec"
 RDEPENDS:perl-module-file-spec += "perl-module-file-spec-unix"
+RDEPENDS:perl-module-file-spec += "perl-module-constant"
 RDEPENDS:perl-module-scalar-util += "perl-module-list-util"
 RDEPENDS:perl-module-file-temp += "perl-module-scalar-util"
 RDEPENDS:perl-module-file-temp += "perl-module-file-spec"
diff --git a/meta/recipes-devtools/perl/perl_5.40.0.bb b/meta/recipes-devtools/perl/perl_5.40.0.bb
index 30f2431f279..0d4338f29f7 100644
--- a/meta/recipes-devtools/perl/perl_5.40.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.40.0.bb
@@ -369,7 +369,9 @@  do_create_rdepends_inc() {
     cat <<'EOPREAMBLE' > ${WORKDIR}/perl-rdepends.inc
 
 # Some additional dependencies that the above doesn't manage to figure out
+RDEPENDS:${PN}-module-file-path += "${PN}-module-file-spec"
 RDEPENDS:${PN}-module-file-spec += "${PN}-module-file-spec-unix"
+RDEPENDS:${PN}-module-file-spec += "${PN}-module-constant"
 RDEPENDS:${PN}-module-scalar-util += "${PN}-module-list-util"
 RDEPENDS:${PN}-module-file-temp += "${PN}-module-scalar-util"
 RDEPENDS:${PN}-module-file-temp += "${PN}-module-file-spec"