aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-06 14:15:15 -0700
committerAdam Vandenberg2012-08-06 14:15:15 -0700
commit2b90f75ded46b86a6401d0f3932b07d9d12811cc (patch)
tree19409e8e4a50db475319226ab3cfb32b73f07391
parent72466943fdc2861770d948fc6b3f1d6361117de3 (diff)
downloadhomebrew-2b90f75ded46b86a6401d0f3932b07d9d12811cc.tar.bz2
macvim: it is OK to set these flags now
-rw-r--r--Library/Formula/macvim.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index 080d67c2c..fd24aeac2 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -21,12 +21,6 @@ class Macvim < Formula
depends_on 'lua' if ARGV.include? '--with-lua'
def install
- # MacVim's Xcode project gets confused by $CC, so remove it
- ENV['CC'] = nil
- ENV['CFLAGS'] = nil
- ENV['CXX'] = nil
- ENV['CXXFLAGS'] = nil
-
# Set ARCHFLAGS so the Python app (with C extension) that is
# used to create the custom icons will not try to compile in
# PPC support (which isn't needed in Homebrew-supported systems.)
@@ -69,7 +63,7 @@ class Macvim < Formula
prefix.install "src/MacVim/build/Release/MacVim.app"
inreplace "src/MacVim/mvim", /^# VIM_APP_DIR=\/Applications$/,
- "VIM_APP_DIR=#{prefix}"
+ "VIM_APP_DIR=#{prefix}"
bin.install "src/MacVim/mvim"
# Create MacVim vimdiff, view, ex equivalents