aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/moreutils.rb3
-rw-r--r--Library/Formula/parallel.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/moreutils.rb b/Library/Formula/moreutils.rb
index f6fc4a36d..d530319f2 100644
--- a/Library/Formula/moreutils.rb
+++ b/Library/Formula/moreutils.rb
@@ -6,6 +6,9 @@ class Moreutils < Formula
mirror 'http://ftp.us.debian.org/debian/pool/main/m/moreutils/moreutils_0.47.tar.gz'
sha1 '0459608fdb37bc59605d7a476717693afd133e00'
+ conflicts_with 'parallel',
+ :because => "both install a 'parallel' executable."
+
def install
# Building the man pages requires DocBook, so we skip them.
scripts = %w[chronic combine ts vidir vipe zrun]
diff --git a/Library/Formula/parallel.rb b/Library/Formula/parallel.rb
index eb1f2b90b..8edc37230 100644
--- a/Library/Formula/parallel.rb
+++ b/Library/Formula/parallel.rb
@@ -6,6 +6,9 @@ class Parallel < Formula
mirror 'http://ftp.gnu.org/gnu/parallel/parallel-20121222.tar.bz2'
sha256 '0ce96ad4e36734baae7ce6c8d99d004810fbfdf5209d6f86d5b5fc9a92dc17f8'
+ conflicts_with 'moreutils',
+ :because => "both install a 'parallel' executable."
+
def install
system "./configure", "--prefix=#{prefix}"
system "make install"