macvim: Fix building on Yosemite with Xcode 7.1

This is a temporary fix until upstream decide on a fix.

Closes Homebrew/homebrew#45299.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
chdiza 2015-10-24 17:07:53 -04:00 committed by Mike McQuaid
parent 6d2450cbaa
commit 1486aecaa0

View file

@ -50,6 +50,11 @@ class Macvim < Formula
# If building for 10.7 or up, make sure that CC is set to "clang".
ENV.clang if MacOS.version >= :lion
# Building under Xcode 7.1 on Yosemite produces an app that is El
# Capitan-only. See https://github.com/macvim-dev/macvim/issues/98. Remove
# this when upstream settles on a fix.
ENV["MACOSX_DEPLOYMENT_TARGET"] = "10.10" if MacOS.version == :yosemite
args = %W[
--with-features=huge
--enable-multibyte