aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/aggregate.rb2
-rw-r--r--Library/Formula/crush-tools.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/aggregate.rb b/Library/Formula/aggregate.rb
index 06b6b742f..5e9e0a111 100644
--- a/Library/Formula/aggregate.rb
+++ b/Library/Formula/aggregate.rb
@@ -5,6 +5,8 @@ class Aggregate < Formula
url 'ftp://ftp.isc.org/isc/aggregate/aggregate-1.6.tar.gz'
sha1 '13420baf4f3f93dbed3c380ab6cca175609c5d7d'
+ conflicts_with 'crush-tools', :because => 'both install an `aggregate` binary'
+
def install
bin.mkpath
man1.mkpath
diff --git a/Library/Formula/crush-tools.rb b/Library/Formula/crush-tools.rb
index 26e5df28e..6af785ceb 100644
--- a/Library/Formula/crush-tools.rb
+++ b/Library/Formula/crush-tools.rb
@@ -8,6 +8,8 @@ class CrushTools < Formula
depends_on 'pcre'
+ conflicts_with 'aggregate', :because => 'both install an `aggregate` binary'
+
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"