pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/vim-share



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Dec 10 12:39:47 UTC 2017

Modified Files:
        pkgsrc/editors/vim-share: options.mk

Log Message:
vim-share: fix building with Python 3.x (PR 52742)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/editors/vim-share/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/vim-share/options.mk
diff -u pkgsrc/editors/vim-share/options.mk:1.6 pkgsrc/editors/vim-share/options.mk:1.7
--- pkgsrc/editors/vim-share/options.mk:1.6     Mon Jul 13 09:33:13 2015
+++ pkgsrc/editors/vim-share/options.mk Sun Dec 10 12:39:47 2017
@@ -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 @@ CONFIGURE_ENV+=             vi_cv_path_ruby=${RUBY}
 
 .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