diff options
| author | Jack Nagel | 2014-05-21 17:10:46 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-21 17:10:52 -0500 |
| commit | bce883337abde1279bc193057ef86b42befb8c58 (patch) | |
| tree | 7d9325fdf59a97b9124264722a0e82ed0a7a4da9 /Library/Formula/macvim.rb | |
| parent | c89d6538c3400b680ad8b4531154b3d814b5ebfa (diff) | |
| download | homebrew-bce883337abde1279bc193057ef86b42befb8c58.tar.bz2 | |
macvim: combine conditionals, update comment
Diffstat (limited to 'Library/Formula/macvim.rb')
| -rw-r--r-- | Library/Formula/macvim.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index 0e9518b69..0960b7967 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -50,7 +50,6 @@ class Macvim < Formula --with-local-dir=#{HOMEBREW_PREFIX} ] - args << "--with-macsdk=#{MacOS.version}" unless MacOS::CLT.installed? args << "--enable-cscope" if build.with? "cscope" if build.with? "lua" @@ -85,13 +84,12 @@ class Macvim < Formula args << "--enable-python3interp" end + # configure appends "SDKS/..." to the value of `xcode-select -print-path`, + # but this isn't correct on recent Xcode, so we need to set it manually. + # FIXME this is a bug, and it should be fixed upstream. unless MacOS::CLT.installed? - # On Xcode-only systems: - # Macvim cannot deal with "/Applications/Xcode.app/Contents/Developer" as - # it is returned by `xcode-select -print-path` and already set by - # Homebrew (in superenv). Instead Macvim needs the deeper dir to directly - # append "SDKs/...". args << "--with-developer-dir=#{MacOS::Xcode.prefix}/Platforms/MacOSX.platform/Developer" + args << "--with-macsdk=#{MacOS.version}" end system "./configure", *args |
