package/perl-dbd-mysql: add missing dependencies

Since commit 8708f3a23a ("package/mysql:
drop virtual package"), we no longer have mysql as a virtual package,
and therefore perl-dbd-mysql directly selects mariadb. However,
mariadb as stricter dependencies than what the mysql virtual package
had, and this commit forgot to properly propagate those dependencies,
causing a Config.in warning:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_MARIADB
  Depends on [n]: BR2_INSTALL_LIBSTDCPP [=y] && !BR2_STATIC_LIBS [=n] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && (BR2_TOOLCHAIN_HAS_ATOMIC [=y] || BR2_TOOLCHAIN_HAS_SYNC_8 [=n]) && BR2_USE_WCHAR [=n]
  Selected by [y]:
  - BR2_PACKAGE_PERL_DBD_MYSQL [=y] && BR2_PACKAGE_PERL [=y] && !BR2_STATIC_LIBS [=n] && BR2_INSTALL_LIBSTDCPP [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y]

Fixes: 8708f3a23a ("package/mysql: drop virtual package")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 64a288e33c076300bacfdf1aa3e955a7da86ad65)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Thomas Petazzoni
2026-01-03 23:43:23 +01:00
committed by Thomas Perale
parent 5b550746bc
commit 997ee1124d

View File

@@ -4,6 +4,8 @@ config BR2_PACKAGE_PERL_DBD_MYSQL
depends on BR2_INSTALL_LIBSTDCPP # mariadb
depends on BR2_USE_MMU # mariadb
depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 # mariadb
depends on BR2_USE_WCHAR # mariadb
select BR2_PACKAGE_MARIADB
select BR2_PACKAGE_PERL_DBI # runtime
help
@@ -11,7 +13,8 @@ config BR2_PACKAGE_PERL_DBD_MYSQL
http://dbi.perl.org/
comment "perl-dbd-mysql needs a toolchain w/ dynamic library, C++, threads"
comment "perl-dbd-mysql needs a toolchain w/ dynamic library, wchar, C++, threads"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR