aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/john.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-16 11:50:36 -0700
committerAdam Vandenberg2010-06-16 11:50:36 -0700
commitc5d56bc501664b5a159b60e86672fcdda5c19d27 (patch)
treed42467e075ff5038184e8763ed23a80c3fccb40b /Library/Formula/john.rb
parent8ecc795b361cc4a2c3d342062e86f7559ac08c0c (diff)
downloadhomebrew-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/john.rb')
-rw-r--r--Library/Formula/john.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/john.rb b/Library/Formula/john.rb
index 1e1198381..e5d797605 100644
--- a/Library/Formula/john.rb
+++ b/Library/Formula/john.rb
@@ -11,7 +11,7 @@ class John <Formula
def install
ENV.deparallelize
- ENV.gcc_4_2
+ fails_with_llvm
arch = Hardware.is_64_bit? ? '64' : 'sse2'
Dir.chdir 'src' do