aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-11 23:35:21 -0800
committerAdam Vandenberg2013-11-11 23:35:21 -0800
commit55d29707be21c18966b81d769c04f4ae15c50873 (patch)
tree17613c690e3f9fcf7bf84cf56108b13d321e9344 /Library/Formula
parent2413ceef16028d14b09dfd2e2589538c3c3c785e (diff)
downloadhomebrew-55d29707be21c18966b81d769c04f4ae15c50873.tar.bz2
play/sox conflict
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/play.rb2
-rw-r--r--Library/Formula/sox.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/play.rb b/Library/Formula/play.rb
index 4d2b37c3a..f199529f5 100644
--- a/Library/Formula/play.rb
+++ b/Library/Formula/play.rb
@@ -6,6 +6,8 @@ class Play < Formula
url 'http://downloads.typesafe.com/play/2.2.1/play-2.2.1.zip'
sha1 'e4567f3cf61536908d66e85bde48d7e953f0a01f'
+ conflicts_with 'sox', :because => 'both install `play` binaries'
+
def install
system "./framework/build", "publish-local" if build.head?
diff --git a/Library/Formula/sox.rb b/Library/Formula/sox.rb
index 441627e45..4c5d02e2b 100644
--- a/Library/Formula/sox.rb
+++ b/Library/Formula/sox.rb
@@ -15,6 +15,8 @@ class Sox < Formula
depends_on 'libao' => :optional
depends_on 'lame' => :optional
+ conflicts_with 'play', :because => 'both install `play` binaries'
+
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",