From 55d29707be21c18966b81d769c04f4ae15c50873 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 11 Nov 2013 23:35:21 -0800 Subject: play/sox conflict --- Library/Formula/play.rb | 2 ++ Library/Formula/sox.rb | 2 ++ 2 files changed, 4 insertions(+) (limited to 'Library') 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", -- cgit v1.2.3