aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cdrtools.rb3
-rw-r--r--Library/Formula/dvdrtools.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/cdrtools.rb b/Library/Formula/cdrtools.rb
index eaa4f7aba..b91c36bb1 100644
--- a/Library/Formula/cdrtools.rb
+++ b/Library/Formula/cdrtools.rb
@@ -7,6 +7,9 @@ class Cdrtools < Formula
depends_on 'smake' => :build
+ conflicts_with 'dvdrtools',
+ :because => 'both dvdrtools and cdrtools install binaries by the same name'
+
def install
system "smake", "INS_BASE=#{prefix}", "INS_RBASE=#{prefix}", "install"
# cdrtools tries to install some generic smake headers, libraries and
diff --git a/Library/Formula/dvdrtools.rb b/Library/Formula/dvdrtools.rb
index 0b3712ddb..b9b65b38b 100644
--- a/Library/Formula/dvdrtools.rb
+++ b/Library/Formula/dvdrtools.rb
@@ -5,6 +5,9 @@ class Dvdrtools < Formula
url 'http://savannah.nongnu.org/download/dvdrtools/dvdrtools-0.2.1.tar.gz'
sha1 'b8b889f73953c121acd85ce1b4ba988ef7ef6bfc'
+ conflicts_with 'cdrtools',
+ :because => 'both cdrtools and dvdrtools install binaries by the same name'
+
def patches
{ :p0 => [
"https://trac.macports.org/export/89262/trunk/dports/sysutils/dvdrtools/files/patch-cdda2wav-cdda2wav.c",