From 3c7665b97abf4202ee5cbe19221ef7eaaf354dfc Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 16 Nov 2013 00:18:44 -0800 Subject: memcached/mysql-cluster conflict --- Library/Formula/memcached.rb | 2 ++ Library/Formula/mysql-cluster.rb | 1 + 2 files changed, 3 insertions(+) (limited to 'Library/Formula') 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." -- cgit v1.2.3