aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mkvtoolnix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/mkvtoolnix.rb')
-rw-r--r--Library/Formula/mkvtoolnix.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/mkvtoolnix.rb b/Library/Formula/mkvtoolnix.rb
index e12658096..39492799a 100644
--- a/Library/Formula/mkvtoolnix.rb
+++ b/Library/Formula/mkvtoolnix.rb
@@ -12,13 +12,11 @@ class Mkvtoolnix < Formula
depends_on 'flac' => :optional
depends_on 'lzo' => :optional
+ fails_with :clang do
+ build 318
+ end
+
def install
- # FIXME This should be replaced with fails_with_clang once available
- # build 318
- if ENV.compiler == :clang
- opoo "Formula will not build with Clang, using LLVM."
- ENV.llvm
- end
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--with-boost-libdir=#{HOMEBREW_PREFIX}/lib", # For non-/usr/local prefix