summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-27 07:22:10 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-27 07:22:41 +0200
commit8226d9c021c5eecd2845f40bea31ba3ccd7dc82c (patch)
treef7e486b4b50d49be1f351a3a0cdb72760eb800fa /dev-ruby/mysql2
parentdev-ruby/mysql2: add mariadb and mysql USE flag (diff)
downloadgentoo-8226d9c021c5eecd2845f40bea31ba3ccd7dc82c.tar.gz
gentoo-8226d9c021c5eecd2845f40bea31ba3ccd7dc82c.tar.bz2
gentoo-8226d9c021c5eecd2845f40bea31ba3ccd7dc82c.zip
dev-ruby/mysql2: fix REQUIRED_USE
One of mariadb or mysql must be selected. Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/mysql2')
-rw-r--r--dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild2
-rw-r--r--dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild b/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild
index 0c94423e474c..bdeffdfd19b9 100644
--- a/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild
+++ b/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild
@@ -20,7 +20,7 @@ LICENSE="MIT"
SLOT="0.4"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
IUSE="mysql mariadb"
-REQUIRED_USE="mysql? ( !mariadb ) mariadb? ( !mysql )"
+REQUIRED_USE="^^ ( mariadb mysql )"
MDEPEND="mysql? ( dev-db/mysql-connector-c ) mariadb? ( dev-db/mariadb-connector-c )"
DEPEND="${DEPEND} ${MDEPEND}"
diff --git a/dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild b/dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild
index 3772cc9b80f5..a0b5b7bc3cc9 100644
--- a/dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild
+++ b/dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild
@@ -20,7 +20,7 @@ LICENSE="MIT"
SLOT="0.5"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
IUSE="mysql mariadb"
-REQUIRED_USE="mysql? ( !mariadb ) mariadb? ( !mysql )"
+REQUIRED_USE="^^ ( mariadb mysql )"
MDEPEND="mysql? ( dev-db/mysql-connector-c ) mariadb? ( dev-db/mariadb-connector-c )"
DEPEND="${DEPEND} ${MDEPEND}"