aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorJohn Whitley2012-12-17 15:33:27 -0800
committerJack Nagel2012-12-22 16:40:59 -0600
commitb96861f970903fdf65a39f6b54ced0b63f206749 (patch)
treeee03fe75cc6e71a4650f38314661e4f48a734838 /Library/Formula/macvim.rb
parent26de0429baa566d767deb65b72e31c43b0524e5e (diff)
downloadhomebrew-b96861f970903fdf65a39f6b54ced0b63f206749.tar.bz2
macvim: add python3 option
Closes #16630. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/macvim.rb')
-rw-r--r--Library/Formula/macvim.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index 246bf1deb..5f00ef2df 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -12,6 +12,7 @@ class Macvim < Formula
option "override-system-vim", "Override system vim"
option "with-cscope", "Build with Cscope support"
option "with-lua", "Build with Lua scripting support"
+ option "with-python3", "Build with Python 3 scripting support"
depends_on 'cscope' if build.include? 'with-cscope'
depends_on 'lua' if build.include? 'with-lua'
@@ -48,6 +49,8 @@ class Macvim < Formula
args << "--with-lua-prefix=#{HOMEBREW_PREFIX}"
end
+ args << "--enable-python3interp" if build.include? "with-python3"
+
system "./configure", *args
# Building custom icons fails for many users, so off by default.