mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
Parameters SOCI_* disables/enables backends. This is straight forward for most of the backends. The mysql backend can either use mysql-connector-c or mariadb-connector-c. Which one of them is decided by the find_package mysql script provided by upstream. That does not work since we need to respect the use flags by the user and declare a dependency to the correct connector. Most of the complexity of this is due to mysql/mariadb and that is solved by providing a FindMySQL.cmake that takes parameters for mysql libs and headers. The cmake scripts do not call find_package for disabled backends, passing CMAKE_DISABLE_FIND_PACKAGE_*=TRUE in addition to SOCI_*=off will therefore produce cmake warnings. Signed-off-by: Jan-Espen Oversand <sigsegv@radiotube.org> Closes: https://bugs.gentoo.org/968287 Part-of: https://github.com/gentoo/gentoo/pull/45248 Closes: https://github.com/gentoo/gentoo/pull/45248 Signed-off-by: Kenton Groombridge <concord@gentoo.org>
23 lines
720 B
XML
23 lines
720 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
<pkgmetadata>
|
|
<maintainer type="person">
|
|
<email>concord@gentoo.org</email>
|
|
<name>Kenton Groombridge</name>
|
|
</maintainer>
|
|
<maintainer type="person" proxied="yes">
|
|
<email>sigsegv@radiotube.org</email>
|
|
<name>Jan-Espen Oversand</name>
|
|
</maintainer>
|
|
<maintainer type="project" proxied="proxy">
|
|
<email>proxy-maint@gentoo.org</email>
|
|
<name>Proxy Maintainers</name>
|
|
</maintainer>
|
|
<upstream>
|
|
<remote-id type="sourceforge">soci</remote-id>
|
|
</upstream>
|
|
<use>
|
|
<flag name="mariadb">Enable mysql plugin with <pkg>dev-db/mariadb-connector-c</pkg> as the client library</flag>
|
|
</use>
|
|
</pkgmetadata>
|