Received: by mail.netbsd.org (Postfix, from userid 605) id 8B44984D68; Sun, 10 Dec 2017 12:39:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1799784D63 for ; Sun, 10 Dec 2017 12:39:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id L8uBfX-CWv5D for ; Sun, 10 Dec 2017 12:39:47 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6F1C284CD8 for ; Sun, 10 Dec 2017 12:39:47 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 65348FB40; Sun, 10 Dec 2017 12:39:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1512909587289320" MIME-Version: 1.0 Date: Sun, 10 Dec 2017 12:39:47 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/editors/vim-share To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20171210123947.65348FB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1512909587289320 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1512909587289320 Content-Disposition: inline Content-Length: 1080 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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) --_----------=_1512909587289320--