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"
