Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

Commit 6b3e765

Browse files
committed
Sync Homebrew python change
1 parent 9bad6b7 commit 6b3e765

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

macvim.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Macvim < Formula
99

1010
depends_on 'gettext' => :build
1111
depends_on 'lua' => :build
12-
depends_on 'python3' => :build
12+
depends_on 'python' => :build
1313

1414
def get_path(name)
1515
f = Formulary.factory(name)
@@ -24,6 +24,7 @@ def install
2424
perl_version = '5.16'
2525
ENV.append 'VERSIONER_PERL_VERSION', perl_version
2626
ENV.append 'VERSIONER_PYTHON_VERSION', '2.7'
27+
ENV.append 'vi_cv_path_python', '/usr/bin/python'
2728
ENV.append 'vi_cv_path_python3', "#{HOMEBREW_PREFIX}/bin/python3"
2829
ENV.append 'vi_cv_path_plain_lua', "#{HOMEBREW_PREFIX}/bin/lua"
2930
ENV.append 'vi_cv_dll_name_perl', "/System/Library/Perl/#{perl_version}/darwin-thread-multi-2level/CORE/libperl.dylib"

0 commit comments

Comments
 (0)