aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mariadb.rb
diff options
context:
space:
mode:
authorMisty De Meo2012-07-28 13:02:46 -0300
committerMisty De Meo2012-07-30 13:47:12 -0300
commit2814e3a9fa88acf262062a26af15d87dc9f572d6 (patch)
tree57d8ec99542d388e4755266ed5968fe70fc3f8b5 /Library/Formula/mariadb.rb
parent08a18364e69013d728d3ecac5b12ca61a01fd623 (diff)
downloadhomebrew-2814e3a9fa88acf262062a26af15d87dc9f572d6.tar.bz2
Add conflicts_with DSL method
conflicts_with is a thin wrapper around Requirement which simplifies marking conflicts between formulae. Closes #13687. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula/mariadb.rb')
-rw-r--r--Library/Formula/mariadb.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/mariadb.rb b/Library/Formula/mariadb.rb
index 1455c96b2..8fc0d262c 100644
--- a/Library/Formula/mariadb.rb
+++ b/Library/Formula/mariadb.rb
@@ -1,14 +1,17 @@
require 'formula'
class Mariadb < Formula
- # You probably don't want to have this and MySQL's formula linked at the same time
- # Just saying.
url 'http://ftp.osuosl.org/pub/mariadb/mariadb-5.3.7/kvm-tarbake-jaunty-x86/mariadb-5.3.7.tar.gz'
homepage 'http://mariadb.org/'
sha1 '1ee2ef4895aefabd66b4884c382ba2cd1f7bbe2d'
depends_on 'readline'
+ conflicts_with 'mysql',
+ :because => "mariadb and mysql install the same binaries."
+ conflicts_with 'percona-server',
+ :because => "mariadb and percona-server install the same binaries."
+
fails_with :clang do
build 318
end