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-share: fix building with Python ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9816965a743c
branches: trunk
changeset: 372562:9816965a743c
user: adam <adam%pkgsrc.org@localhost>
date: Sun Dec 10 12:39:47 2017 +0000
description:
vim-share: fix building with Python 3.x (PR 52742)
diffstat:
editors/vim-share/options.mk | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 810a1b1ee7b4 -r 9816965a743c editors/vim-share/options.mk
--- a/editors/vim-share/options.mk Sun Dec 10 10:19:47 2017 +0000
+++ b/editors/vim-share/options.mk Sun Dec 10 12:39:47 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2015/07/13 09:33:13 morr Exp $
+# $NetBSD: options.mk,v 1.7 2017/12/10 12:39:47 adam Exp $
PKG_SUPPORTED_OPTIONS+= ruby python perl lua luajit
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
@@ -13,14 +13,18 @@
.if !empty(PKG_OPTIONS:Mpython)
.include "../../lang/python/pyversion.mk"
+. if empty(_PYTHON_VERSION:M3*)
CONFIGURE_ARGS+= --enable-pythoninterp
+. else
+CONFIGURE_ARGS+= --enable-python3interp
+. endif
CONFIGURE_ENV+= vi_cv_path_python=${PYTHONBIN}
.endif
.if !empty(PKG_OPTIONS:Mperl)
.include "../../lang/perl5/buildlink3.mk"
CONFIGURE_ARGS+= --enable-perlinterp
-CONFIGURE_ENV+= vi_cv_path_perl=${PERL5}
+CONFIGURE_ENV+= vi_cv_path_perl=${PERL5:Q}
.endif
.if !empty(PKG_OPTIONS:Mlua)
Home |
Main Index |
Thread Index |
Old Index