diff options
| author | Max Howell | 2012-02-26 13:45:37 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-26 13:45:37 +0000 |
| commit | 0f465bfea391c7953a4a21a5ad7043601e014b06 (patch) | |
| tree | 06edf6ee132de720ba82deec8c912375b09fe8ec /Library | |
| parent | d805647031a3bc5e3bd4b585c95b900cdedd5118 (diff) | |
| download | homebrew-0f465bfea391c7953a4a21a5ad7043601e014b06.tar.bz2 | |
Only apply this fix against clang 3.1 since apparently breaks for clang 3.2
Also some of this patch was meant to be in the last commit. I've reverted to brotherbard gitx and it doesn't auto-refresh if the file changes, so I missed part of it. Proof that tools can break your flow :P
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ragel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ragel.rb b/Library/Formula/ragel.rb index 73186e883..6ae6e381e 100644 --- a/Library/Formula/ragel.rb +++ b/Library/Formula/ragel.rb @@ -11,7 +11,7 @@ class Ragel < Formula md5 'f4423e0d8a6538dd4e61498fcfad3cec' def install - if MacOS.default_compiler == :clang + if ENV.compiler == :clang and MacOS.clang_version.to_f == 3.1 # fix build with clang inreplace ["aapl/avlcommon.h", "aapl/bstcommon.h", "aapl/bubblesort.h", "aapl/mergesort.h"], /([^:.])(compare)/, '\1this->\2' # fix build with libc++ |
