aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMartin Wilhelmi2012-02-21 11:13:39 +0100
committerMax Howell2012-02-21 10:39:37 +0000
commit80b4d55e9916fee6e492402bae218bdecb43bba1 (patch)
tree9f49323bddd20197b19d59d35b76bcc94f7ca145 /Library
parent6b2340fd92bbd3c27aa4e5f79e5ee474382c171f (diff)
downloadhomebrew-80b4d55e9916fee6e492402bae218bdecb43bba1.tar.bz2
don't use clang 3.1 for bwm-ng
Closes #10365. Signed-off-by: Max Howell <max@methylblue.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bwm-ng.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/bwm-ng.rb b/Library/Formula/bwm-ng.rb
index d56f4fa1e..145163adf 100644
--- a/Library/Formula/bwm-ng.rb
+++ b/Library/Formula/bwm-ng.rb
@@ -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