diff options
| author | Misty De Meo | 2012-07-28 13:02:46 -0300 |
|---|---|---|
| committer | Misty De Meo | 2012-07-30 13:47:12 -0300 |
| commit | 2814e3a9fa88acf262062a26af15d87dc9f572d6 (patch) | |
| tree | 57d8ec99542d388e4755266ed5968fe70fc3f8b5 /Library/Formula/rarian.rb | |
| parent | 08a18364e69013d728d3ecac5b12ca61a01fd623 (diff) | |
| download | homebrew-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/rarian.rb')
| -rw-r--r-- | Library/Formula/rarian.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/rarian.rb b/Library/Formula/rarian.rb index 42457937f..111e5dd94 100644 --- a/Library/Formula/rarian.rb +++ b/Library/Formula/rarian.rb @@ -5,12 +5,10 @@ class Rarian < Formula url 'http://rarian.freedesktop.org/Releases/rarian-0.8.1.tar.bz2' md5 '75091185e13da67a0ff4279de1757b94' - def install - if Formula.factory('scrollkeeper').installed? - opoo "rarian conflicts with scrollkeeper. Your scrollkeeper binaries will be overwritten. - If this bothers you, you can restore scrollkeeper with `brew link scrollkeeper`." - end + conflicts_with 'scrollkeeper', + :because => "rarian and scrollkeeper install the same binaries." + def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
