From e58baae143c78750b8a30dde588a83dbfd53edd3 Mon Sep 17 00:00:00 2001 From: Samuel John Date: Mon, 3 Jun 2013 22:00:40 +0200 Subject: MacVim: Don't hardcode --with-macsdk Instead only pass the --with-macsdk if on XCode-only. Fix #20229 --- Library/Formula/macvim.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/macvim.rb') 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" -- cgit v1.2.3