dev-perl/DBD-mysql: Add mysql/mariadb switching
authorKent Fredric <kentnl@gentoo.org>
Thu, 29 Aug 2019 06:07:27 +0000 (18:07 +1200)
committerKent Fredric <kentnl@gentoo.org>
Thu, 29 Aug 2019 09:40:35 +0000 (21:40 +1200)
commita47a3415690d554c17ecc6a5f7a6ed35de92188d
tree9d72aaffc6fb7c36ce6eba6cfdbd64abad1a6986
parent0cb5824bb03d23d0126032f4ad09ca8a2bc5d68d
dev-perl/DBD-mysql: Add mysql/mariadb switching

This was tangentially supported back with the virtual/mysqlclient stuff
and this attempts to bring this logic back.

However, in testing, this release currently failed to compile with
USE="mariadb -mysql", as DBD-mysql supporting mariadb is merely "best
effort", not a primary design goal, so can often be a bit behind the
curve.

Future releases may however work fine.

Though its recommended if you work with MariaDB to:
a. use DBD-MariaDB instead
b. use "mysql -mariadb" to use the mysql-connector-c implementation
   and then use that to connect to mariadb, which *may* work better.

As such, this flag is primarily to give user choice, but will be
use.stable.masked' until we can expect it to be reliable

Keywords dropped:
- alpha ( due to mariadb-connector-c )

Package-Manager: Portage-2.3.72, Repoman-2.3.16
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
dev-perl/DBD-mysql/DBD-mysql-4.44.0-r2.ebuild [new file with mode: 0644]
dev-perl/DBD-mysql/metadata.xml