aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-12-11 09:09:41 -0800
committerAdam Vandenberg2010-12-11 09:09:41 -0800
commitbd047b571f3b56044768fe03842d1930b7d18a56 (patch)
treeaffda011994d6ef1da3abdaae9e07015e74c8bf9 /Library/Formula/macvim.rb
parent8821882137b0942c98563f1c1b416196f9935353 (diff)
downloadhomebrew-bd047b571f3b56044768fe03842d1930b7d18a56.tar.bz2
Warn when trying to build MacVim under Xcode 4 preview
Diffstat (limited to 'Library/Formula/macvim.rb')
-rw-r--r--Library/Formula/macvim.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index 9d4c14aaa..eb01e9da5 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -18,6 +18,10 @@ class Macvim <Formula
depends_on 'cscope' if ARGV.include? '--with-cscope'
def install
+ if "4.0" == xcode_version
+ opoo "MacVim may not compile under the Xcode 4 preview."
+ end
+
# MacVim's Xcode project gets confused by $CC
# Disable it until someone figures out why it fails.
ENV['CC'] = nil