pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/vim-share vim: fix python option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6fbf5b46b7b
branches:  trunk
changeset: 403874:f6fbf5b46b7b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Nov 02 19:57:01 2019 +0000

description:
vim: fix python option

diffstat:

 editors/vim-share/options.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r b52b3fb13837 -r f6fbf5b46b7b editors/vim-share/options.mk
--- a/editors/vim-share/options.mk      Sat Nov 02 19:45:49 2019 +0000
+++ b/editors/vim-share/options.mk      Sat Nov 02 19:57:01 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2017/12/10 12:39:47 adam Exp $
+# $NetBSD: options.mk,v 1.8 2019/11/02 19:57:01 tnn Exp $
 
 PKG_SUPPORTED_OPTIONS+=        ruby python perl lua luajit
 PKG_OPTIONS_VAR=       PKG_OPTIONS.vim
@@ -15,10 +15,11 @@
 .include "../../lang/python/pyversion.mk"
 .  if empty(_PYTHON_VERSION:M3*)
 CONFIGURE_ARGS+=       --enable-pythoninterp
+CONFIGURE_ARGS+=       --with-python-command=${PYTHONBIN}
 .  else
 CONFIGURE_ARGS+=       --enable-python3interp
+CONFIGURE_ARGS+=       --with-python3-command=${PYTHONBIN}
 .  endif
-CONFIGURE_ENV+=                vi_cv_path_python=${PYTHONBIN}
 .endif
 
 .if !empty(PKG_OPTIONS:Mperl)



Home | Main Index | Thread Index | Old Index