diff options
| author | Misty De Meo | 2013-01-01 17:46:56 -0400 |
|---|---|---|
| committer | Misty De Meo | 2013-01-01 17:46:56 -0400 |
| commit | 0e0ef31f05630db6957ccc92d08f7487c4fe2138 (patch) | |
| tree | 7775321cb4435b65fad51c36d9b02668ff75c945 /Library | |
| parent | 3abafcf92bf56437b4cbc8589b588304b366f476 (diff) | |
| download | homebrew-0e0ef31f05630db6957ccc92d08f7487c4fe2138.tar.bz2 | |
cdrtools and dvdrtools conflict with each other
These two packages are incompatible forks of each other with the same
binary names.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cdrtools.rb | 3 | ||||
| -rw-r--r-- | Library/Formula/dvdrtools.rb | 3 |
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", |
