mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
Improve the way vim looks for python binaries
Previously, we patched in the names of all the python binary versions, but I have been doing a terrible job of keeping them up-to-date. Instead, just tell vim's configure script the path to the binary we're using. This will fix building against python 3.7. PR: 230675 Reported by: Kamigishi Rei MFH: 2018Q3
This commit is contained in:
parent
1b1dae1753
commit
9bf68f57dd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477376
@ -129,10 +129,12 @@ PERL_CONFIGURE_ENABLE= perlinterp
|
||||
PERL_USES= perl5
|
||||
|
||||
PYTHON2_CONFIGURE_ENABLE= pythoninterp
|
||||
PYTHON2_CONFIGURE_WITH= python-command=${LOCALBASE}/bin/python${PYTHON2_DEFAULT}
|
||||
PYTHON2_BUILD_DEPENDS= python${PYTHON2_DEFAULT}:lang/python${PYTHON2_DEFAULT:S/.//}
|
||||
PYTHON2_RUN_DEPENDS= ${PYTHON2_BUILD_DEPENDS}
|
||||
|
||||
PYTHON3_CONFIGURE_ENABLE= python3interp
|
||||
PYTHON3_CONFIGURE_WITH= python3-command=${PYTHON_CMD}
|
||||
PYTHON3_USES= python:3.4+
|
||||
|
||||
RUBY_CONFIGURE_ENABLE= rubyinterp
|
||||
|
@ -46,21 +46,3 @@
|
||||
fi
|
||||
if test "X$LUA_CFLAGS$LUA_LIBS" != "X" && \
|
||||
test "x$MACOS_X" = "xyes" && test "x$vi_cv_with_luajit" != "xno" && \
|
||||
@@ -6230,7 +6231,7 @@ fi
|
||||
|
||||
|
||||
if test "X$vi_cv_path_python" = "X"; then
|
||||
- for ac_prog in python2 python
|
||||
+ for ac_prog in python2.7
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
@@ -6580,7 +6581,7 @@ fi
|
||||
|
||||
|
||||
if test "X$vi_cv_path_python3" = "X"; then
|
||||
- for ac_prog in python3 python
|
||||
+ for ac_prog in python3.6 python3.5 python3.4
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
|
Loading…
Reference in New Issue
Block a user