aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mysql-connector-c.rb3
-rw-r--r--Library/Formula/percona-server.rb2
2 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/mysql-connector-c.rb b/Library/Formula/mysql-connector-c.rb
index 1f713ffda..d15ead900 100644
--- a/Library/Formula/mysql-connector-c.rb
+++ b/Library/Formula/mysql-connector-c.rb
@@ -7,6 +7,9 @@ class MysqlConnectorC < Formula
depends_on 'cmake' => :build
+ conflicts_with 'percona-server',
+ :because => 'both install `mysql_config`'
+
fails_with :llvm do
build 2334
cause "Unsupported inline asm"
diff --git a/Library/Formula/percona-server.rb b/Library/Formula/percona-server.rb
index 86d6d61e9..34af6e448 100644
--- a/Library/Formula/percona-server.rb
+++ b/Library/Formula/percona-server.rb
@@ -14,6 +14,8 @@ class PerconaServer < Formula
option 'with-embedded', 'Build the embedded server'
option 'enable-local-infile', 'Build with local infile loading support'
+ conflicts_with 'mysql-connector-c',
+ :because => 'both install `mysql_config`'
conflicts_with 'mariadb', 'mysql', 'mysql-cluster',
:because => "percona, mariadb, and mysql install the same binaries."