summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-10-10 09:29:43 -0400
committerBrian Evans <grknight@gentoo.org>2018-10-10 09:29:43 -0400
commit103daac011c8e59a7fe43d18a07ae20aa099e29b (patch)
treef54e6722f66e615660183d97b68e6202353d13d7 /virtual/libmysqlclient
parentnet-misc/lksctp-tools: fix installation of /usr/include/netinet/sctp.h (diff)
downloadgentoo-103daac011c8e59a7fe43d18a07ae20aa099e29b.tar.gz
gentoo-103daac011c8e59a7fe43d18a07ae20aa099e29b.tar.bz2
gentoo-103daac011c8e59a7fe43d18a07ae20aa099e29b.zip
virtual/libmysqlclient: Revbump to simplify providers
Signed-off-by: Brian Evans <grknight@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'virtual/libmysqlclient')
-rw-r--r--virtual/libmysqlclient/libmysqlclient-18-r1.ebuild15
-rw-r--r--virtual/libmysqlclient/metadata.xml8
2 files changed, 23 insertions, 0 deletions
diff --git a/virtual/libmysqlclient/libmysqlclient-18-r1.ebuild b/virtual/libmysqlclient/libmysqlclient-18-r1.ebuild
new file mode 100644
index 000000000000..aa6b211f418b
--- /dev/null
+++ b/virtual/libmysqlclient/libmysqlclient-18-r1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-build
+
+DESCRIPTION="Virtual for MySQL client libraries"
+SLOT="0/18"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="mariadb static-libs"
+
+RDEPEND="
+mariadb? ( dev-db/mariadb-connector-c[mysqlcompat,static-libs?,${MULTILIB_USEDEP}] )
+!mariadb? ( dev-db/mysql-connector-c:${SLOT}[static-libs?,${MULTILIB_USEDEP}] )"
diff --git a/virtual/libmysqlclient/metadata.xml b/virtual/libmysqlclient/metadata.xml
index 70da03df9f65..b69daca91ae7 100644
--- a/virtual/libmysqlclient/metadata.xml
+++ b/virtual/libmysqlclient/metadata.xml
@@ -5,4 +5,12 @@
<email>mysql-bugs@gentoo.org</email>
<name>MySQL</name>
</maintainer>
+ <use>
+ <flag name="mariadb">Prefer dev-db/mariadb-connector-c to prevent blocks on other packages</flag>
+ </use>
+ <longdescription>
+ Originally, this package was meant to have providers be switched easily.
+ However, the dependency resolution and rebuilding does not work through a virtual.
+ This package is deprecated and will be removed in the future.
+ </longdescription>
</pkgmetadata>