don't use clang 3.1 for bwm-ng

Closes Homebrew/homebrew#10365.

Signed-off-by: Max Howell <max@methylblue.com>
This commit is contained in:
Martin Wilhelmi 2012-02-21 11:13:39 +01:00 committed by Max Howell
parent 2ebfbcc205
commit e034f26230

View file

@ -6,6 +6,11 @@ class BwmNg < Formula
md5 'd3a02484fb7946371bfb4e10927cebfb'
def install
if MacOS.default_compiler == :clang
# auto-retest next clang version, submit patch if fails!
ENV.llvm if MacOS.clang_version.to_f <= 3.1
end
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end