aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2012-03-28 20:30:17 -0500
committerMisty De Meo2012-03-28 21:06:14 -0500
commit3de0dd270da124a4ed368f32f7299dd1b9ee3363 (patch)
tree0cd3a77c5ba47b677d708bed8e7c9d1babc84f9c
parent379a9ac92468fa7f00dfa727c49e54cd42cf489f (diff)
downloadhomebrew-3de0dd270da124a4ed368f32f7299dd1b9ee3363.tar.bz2
mkvtoolnix: fails_with :clang
-rw-r--r--Library/Formula/mkvtoolnix.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/mkvtoolnix.rb b/Library/Formula/mkvtoolnix.rb
index 93b7bf6f9..e12658096 100644
--- a/Library/Formula/mkvtoolnix.rb
+++ b/Library/Formula/mkvtoolnix.rb
@@ -13,6 +13,12 @@ class Mkvtoolnix < Formula
depends_on 'lzo' => :optional
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