aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-08-29 19:03:34 -0500
committerJack Nagel2013-08-29 19:08:21 -0500
commita6da0b82e6fa72c03f6f2760444435f48392bd29 (patch)
tree122b6101015787630f5314e74e658e6c665f4443 /Library/Formula
parent905bb7c6c3b7f1fb0ab0fabaa6932cc560aa4adf (diff)
downloadhomebrew-a6da0b82e6fa72c03f6f2760444435f48392bd29.tar.bz2
De-duplicate conflicts for mysql and friends
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mariadb.rb10
-rw-r--r--Library/Formula/mysql-cluster.rb10
-rw-r--r--Library/Formula/mysql.rb10
-rw-r--r--Library/Formula/percona-server.rb9
4 files changed, 8 insertions, 31 deletions
diff --git a/Library/Formula/mariadb.rb b/Library/Formula/mariadb.rb
index 1927154e2..56c591000 100644
--- a/Library/Formula/mariadb.rb
+++ b/Library/Formula/mariadb.rb
@@ -23,14 +23,8 @@ class Mariadb < Formula
option 'with-blackhole-storage-engine', 'Compile with the BLACKHOLE storage engine enabled'
option 'enable-local-infile', 'Build with local infile loading support'
- conflicts_with 'mysql',
- :because => "mariadb and mysql install the same binaries."
-
- conflicts_with 'percona-server',
- :because => "mariadb and percona-server install the same binaries."
-
- conflicts_with 'mysql-cluster',
- :because => "mariadb and mysql-cluster install the same binaries."
+ conflicts_with 'mysql', 'mysql-cluster', 'percona-server',
+ :because => "mariadb, mysql, and percona install the same binaries."
env :std if build.universal?
diff --git a/Library/Formula/mysql-cluster.rb b/Library/Formula/mysql-cluster.rb
index 87e624f64..3a351b126 100644
--- a/Library/Formula/mysql-cluster.rb
+++ b/Library/Formula/mysql-cluster.rb
@@ -17,14 +17,8 @@ class MysqlCluster < Formula
option 'enable-local-infile', 'Build with local infile loading support'
option 'enable-debug', 'Build with debug support'
- conflicts_with 'mysql',
- :because => "mysql-cluster and mysql install the same binaries."
-
- conflicts_with 'mariadb',
- :because => "mysql-cluster and mariadb install the same binaries."
-
- conflicts_with 'percona-server',
- :because => "mysql-cluster and percona-server install the same binaries."
+ conflicts_with 'mysql', 'mariadb', 'percona-server',
+ :because => "mysql, mariadb, and percona install the same binaries."
env :std if build.universal?
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index b01eb56e8..27f4c994b 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -25,14 +25,8 @@ class Mysql < Formula
option 'enable-memcached', 'Enable innodb-memcached support'
option 'enable-debug', 'Build with debug support'
- conflicts_with 'mariadb',
- :because => "mysql and mariadb install the same binaries."
-
- conflicts_with 'percona-server',
- :because => "mysql and percona-server install the same binaries."
-
- conflicts_with 'mysql-cluster',
- :because => "mysql and mysql-cluster install the same binaries."
+ conflicts_with 'mysql-cluster', 'mariadb', 'percona-server',
+ :because => "mysql, mariadb, and percona install the same binaries."
env :std if build.universal?
diff --git a/Library/Formula/percona-server.rb b/Library/Formula/percona-server.rb
index db775861f..6224f8993 100644
--- a/Library/Formula/percona-server.rb
+++ b/Library/Formula/percona-server.rb
@@ -16,14 +16,9 @@ class PerconaServer < Formula
option 'with-libedit', 'Compile with editline wrapper instead of readline'
option 'enable-local-infile', 'Build with local infile loading support'
- conflicts_with 'mysql',
- :because => "percona-server and mysql install the same binaries."
- conflicts_with 'mariadb',
- :because => "percona-server and mariadb install the same binaries."
-
- conflicts_with 'mysql-cluster',
- :because => "percona-server and mysql-cluster install the same binaries."
+ conflicts_with 'mariadb', 'mysql', 'mysql-cluster',
+ :because => "percona, mariadb, and mysql install the same binaries."
env :std if build.universal?