aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorSamuel John2013-06-11 10:46:35 +0200
committerSamuel John2013-06-11 10:46:35 +0200
commit231a297d9b5738948da59efd821fbd07ae3cb96c (patch)
tree8bb5e661b5836e8e38bb0b4ac9cb762484261ab9 /Library/Formula/macvim.rb
parentafaaab19aec1b24aa2d5a1d49bb07679ed10b563 (diff)
downloadhomebrew-231a297d9b5738948da59efd821fbd07ae3cb96c.tar.bz2
Vim & MacVim: Fix support for brewed python
However, the downside is that we had to remove python3 support until that is fixed upstream.
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 594948a5a..3d1c46815 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -60,7 +60,7 @@ class Macvim < Formula
# on the Mac. Note configure detects brewed python correctly, but that
# is ignored.
# See https://github.com/mxcl/homebrew/issues/17908
- ENV.prepend 'LDFLAGS', "-L#{python2.libdir} -F#{python2.framework}" if python.brewed?
+ ENV.prepend 'LDFLAGS', "-L#{python2.libdir} -F#{python2.framework}" if python && python.brewed?
unless MacOS::CLT.installed?
# On Xcode-only systems: