mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
replace libdbd-mysql-perl with dbd-mariadb
libdbd-mysql-perl is broken with mariadb/gcc14 and upstream does not support mariadb. [https://github.com/perl5-dbi/DBD-mysql/issues/430] Use the perl database driver that is provided by the mariadb project instead. [https://mariadb.com/kb/en/perl-dbi] Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
d40a28da04
commit
0ec2b7aab2
|
|
@ -215,7 +215,7 @@ RDEPENDS:${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
|
|||
RDEPENDS:${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
|
||||
perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
|
||||
perl-module-file-copy perl-module-file-temp perl-module-posix \
|
||||
${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl lzo"
|
||||
${PN}-client ${PN}-setupdb libdbi-perl dbd-mariadb lzo"
|
||||
RDEPENDS:${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
|
||||
perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
|
||||
perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
|
||||
|
|
|
|||
20
meta-oe/recipes-devtools/perl/dbd-mariadb_1.23.bb
Normal file
20
meta-oe/recipes-devtools/perl/dbd-mariadb_1.23.bb
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
DESPCRIPTION = "DBD::MariaDB is the Perl5 Database Interface driver for MariaDB and MySQL databases."
|
||||
HOMEPAGE = "https://metacpan.org/dist/DBD-MariaDB"
|
||||
LICENSE = "GPL-1.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d0a06964340e5c0cde88b7af611f755c"
|
||||
|
||||
DEPENDS = "libdbi-perl-native libdev-checklib-perl-native libmysqlclient"
|
||||
|
||||
SRC_URI = "${CPAN_MIRROR}/authors/id/P/PA/PALI/DBD-MariaDB-${PV}.tar.gz"
|
||||
SRC_URI[sha256sum] = "0d0c76c660ddd55570e48f3e2fdea8f621a69ac0ed48190e8cfcafcb5e9b859d"
|
||||
|
||||
RDEPENDS:${PN} = "libdbi-perl"
|
||||
|
||||
S = "${WORKDIR}/DBD-MariaDB-${PV}"
|
||||
|
||||
inherit cpan
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
libtest-warnings-perl \
|
||||
perl-module-test-more \
|
||||
"
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
SUMMARY = "A Perl DBI driver for MySQL"
|
||||
DESCRIPTION = "DBD::mysql is the Perl5 Database Interface driver for \
|
||||
the MySQL database. In other words: DBD::mysql is an interface between \
|
||||
the Perl programming language and the MySQL programming API that comes \
|
||||
with the MySQL relational database management system. Most functions \
|
||||
provided by this programming API are supported. Some rarely used \
|
||||
functions are missing, mainly because no-one ever requested them. \
|
||||
"
|
||||
HOMEPAGE = "https://github.com/perl5-dbi/DBD-mysql"
|
||||
|
||||
SECTION = "libs"
|
||||
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
|
||||
DEPENDS += "libdev-checklib-perl-native libdbi-perl-native libmysqlclient"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d0a06964340e5c0cde88b7af611f755c"
|
||||
|
||||
SRCREV = "9b5b70ea372f49fe9bc9e592dae3870596d1e3d6"
|
||||
SRC_URI = "git://github.com/perl5-dbi/DBD-mysql.git;protocol=https;branch=master"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cpan
|
||||
|
||||
EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types"'
|
||||
Loading…
Reference in New Issue
Block a user