aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorSamuel John2013-06-03 22:00:40 +0200
committerSamuel John2013-06-03 22:00:40 +0200
commite58baae143c78750b8a30dde588a83dbfd53edd3 (patch)
tree586976158ba7c78fd694066b6430726f1956a32e /Library/Formula/macvim.rb
parent2abe3d7fcfcf81c3502e1e70f2316df9e004fc36 (diff)
downloadhomebrew-e58baae143c78750b8a30dde588a83dbfd53edd3.tar.bz2
MacVim: Don't hardcode --with-macsdk
Instead only pass the --with-macsdk if on XCode-only. Fix #20229
Diffstat (limited to 'Library/Formula/macvim.rb')
-rw-r--r--Library/Formula/macvim.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index d10fa4d52..30cd547b8 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -33,7 +33,6 @@ class Macvim < Formula
--with-features=huge
--enable-multibyte
--with-macarchs=#{arch}
- --with-macsdk=10.8
--enable-perlinterp
--enable-rubyinterp
--enable-tclinterp
@@ -43,6 +42,7 @@ class Macvim < Formula
--with-local-dir=#{HOMEBREW_PREFIX}
]
+ args << "--with-macsdk=#{MacOS::version.to_s}" unless MacOS::CLT.installed?
args << "--enable-cscope" if build.with? "cscope"
if build.with? "lua"