diff options
| author | Adam Vandenberg | 2010-06-16 11:50:36 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-16 11:50:36 -0700 |
| commit | c5d56bc501664b5a159b60e86672fcdda5c19d27 (patch) | |
| tree | d42467e075ff5038184e8763ed23a80c3fccb40b /Library/Formula/monotone.rb | |
| parent | 8ecc795b361cc4a2c3d342062e86f7559ac08c0c (diff) | |
| download | homebrew-c5d56bc501664b5a159b60e86672fcdda5c19d27.tar.bz2 | |
Add "fails_with_llvm" to formula to document LLVM build breaks.
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.
Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
Diffstat (limited to 'Library/Formula/monotone.rb')
| -rw-r--r-- | Library/Formula/monotone.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/monotone.rb b/Library/Formula/monotone.rb index e9be98a07..2dbc88675 100644 --- a/Library/Formula/monotone.rb +++ b/Library/Formula/monotone.rb @@ -14,9 +14,7 @@ class Monotone <Formula depends_on 'pcre' def install - # linker fails - ENV.gcc_4_2 - + fails_with_llvm "linker fails" system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" system "make install" end |
