From 0e0ef31f05630db6957ccc92d08f7487c4fe2138 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 1 Jan 2013 17:46:56 -0400 Subject: cdrtools and dvdrtools conflict with each other These two packages are incompatible forks of each other with the same binary names.--- Library/Formula/cdrtools.rb | 3 +++ Library/Formula/dvdrtools.rb | 3 +++ 2 files changed, 6 insertions(+) (limited to 'Library') 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", -- cgit v1.2.3