From 3de0dd270da124a4ed368f32f7299dd1b9ee3363 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Wed, 28 Mar 2012 20:30:17 -0500 Subject: mkvtoolnix: fails_with :clang --- Library/Formula/mkvtoolnix.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3