aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-16 00:18:44 -0800
committerAdam Vandenberg2013-11-16 00:18:44 -0800
commit3c7665b97abf4202ee5cbe19221ef7eaaf354dfc (patch)
tree4f188fed2b327f800c39efdb165c7f887b288c48 /Library
parent40044a604590e9c4e546c179cefdc2fc6871bbbf (diff)
downloadhomebrew-3c7665b97abf4202ee5cbe19221ef7eaaf354dfc.tar.bz2
memcached/mysql-cluster conflict
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/memcached.rb2
-rw-r--r--Library/Formula/mysql-cluster.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/memcached.rb b/Library/Formula/memcached.rb
index b5a26fc60..bc37246c5 100644
--- a/Library/Formula/memcached.rb
+++ b/Library/Formula/memcached.rb
@@ -10,6 +10,8 @@ class Memcached < Formula
option "enable-sasl", "Enable SASL support -- disables ASCII protocol!"
option "enable-sasl-pwdb", "Enable SASL with memcached's own plain text password db support -- disables ASCII protocol!"
+ conflicts_with 'mysql-cluster', :because => 'both install `bin/memcached`'
+
def install
args = ["--prefix=#{prefix}", "--disable-coverage"]
args << "--enable-sasl" if build.include? "enable-sasl"
diff --git a/Library/Formula/mysql-cluster.rb b/Library/Formula/mysql-cluster.rb
index b96febc95..8842eb0fa 100644
--- a/Library/Formula/mysql-cluster.rb
+++ b/Library/Formula/mysql-cluster.rb
@@ -17,6 +17,7 @@ class MysqlCluster < Formula
option 'enable-local-infile', 'Build with local infile loading support'
option 'enable-debug', 'Build with debug support'
+ conflicts_with 'memcacmed', :because => 'both install `bin/memcached`'
conflicts_with 'mysql', 'mariadb', 'percona-server',
:because => "mysql, mariadb, and percona install the same binaries."