diff options
author | tnn <tnn@pkgsrc.org> | 2019-11-02 19:57:01 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2019-11-02 19:57:01 +0000 |
commit | 532c4f58dadaa7962580a96f4a9c72e39aa92446 (patch) | |
tree | ad79b76bb516f2231afd2d87e5affe4b63cc2f8b | |
parent | b456194580263e1e48dd7da909810b61a34a141b (diff) | |
download | pkgsrc-532c4f58dadaa7962580a96f4a9c72e39aa92446.tar.gz |
vim: fix python option
-rw-r--r-- | editors/vim-share/options.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/vim-share/options.mk b/editors/vim-share/options.mk index 7091faa2e46..98826390b2f 100644 --- a/editors/vim-share/options.mk +++ b/editors/vim-share/options.mk @@ -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 @@ CONFIGURE_ENV+= vi_cv_path_ruby=${RUBY} .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) |