aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-07 22:29:59 -0800
committerAdam Vandenberg2013-11-07 22:29:59 -0800
commit87727d6318edb57ae9e4f83c0ddf697780212151 (patch)
tree29b046a377030dc8881a13f70ab7b53228656ee8 /Library
parent1f700883be26a9971be0622eb5646c94165cb3e7 (diff)
downloadhomebrew-87727d6318edb57ae9e4f83c0ddf697780212151.tar.bz2
crush-tools/aggregate conflict
Diffstat (limited to 'Library')
-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"