diff mbox series

[meta-perl,v2,02/26] libdbd-sqlite-perl: add perl-module-base to RDEPENDS

Message ID 20261201015526.1956497-3-tim.orling@konsulko.com
State Under Review
Headers show
Series perl recipes: add missing base, DynaLoader and other perl-module RDEPENDS | expand

Commit Message

Tim Orling Dec. 1, 2026, 1:54 a.m. UTC
DBD::SQLite::Constants and the VirtualTable modules use "use base", and
so do the virtual_table ptests. perl-module-base only came in indirectly
through the perl-module RDEPENDS, which "perl: generate perl-rdepends.txt
with perl.req" in oe-core regenerates.

While here, replace the tab indentation in RDEPENDS and do_install_ptest
with four spaces, as in the rest of the recipe.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 .../libdb/libdbd-sqlite-perl_1.78.bb          | 26 ++++++++++---------
 1 file changed, 14 insertions(+), 12 deletions(-)
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.78.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.78.bb
index 77b8352dae..54cc204878 100644
--- a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.78.bb
+++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.78.bb
@@ -24,11 +24,13 @@  DEPENDS += "libdbi-perl-native"
 
 inherit cpan ptest-perl
 
-RDEPENDS:${PN} += "libdbi-perl \
-		   sqlite3 \
-		   perl-module-constant \
-		   perl-module-locale \
-		   perl-module-tie-hash \
+RDEPENDS:${PN} += "\
+    libdbi-perl \
+    sqlite3 \
+    perl-module-base \
+    perl-module-constant \
+    perl-module-locale \
+    perl-module-tie-hash \
 "
 
 do_install:append() {
@@ -38,15 +40,15 @@  do_install:append() {
 }
 
 do_install_ptest() {
-	cp -r ${B}/MANIFEST ${D}${PTEST_PATH}
-	chown -R root:root ${D}${PTEST_PATH}
+    cp -r ${B}/MANIFEST ${D}${PTEST_PATH}
+    chown -R root:root ${D}${PTEST_PATH}
 
-	# the t/virtual_table/11_filcontent_fulltext tests load these files directly
-	cp -r ${S}/lib ${D}${PTEST_PATH}
-	cp -r ${S}/inc ${D}${PTEST_PATH}
+    # the t/virtual_table/11_filcontent_fulltext tests load these files directly
+    cp -r ${S}/lib ${D}${PTEST_PATH}
+    cp -r ${S}/inc ${D}${PTEST_PATH}
 }
 
-RDEPENDS:${PN}-ptest += " \
+RDEPENDS:${PN}-ptest += "\
     libtest-nowarnings-perl \
     perl-module-digest-md5 \
     perl-module-encode-encoding \
@@ -57,6 +59,6 @@  RDEPENDS:${PN}-ptest += " \
     perl-module-file-spec-functions \
     perl-module-findbin \
     perl-module-test-more \
-    "
+"
 
 BBCLASSEXTEND = "native"