Date: Wed, 29 May 2019 08:18:06 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502940 - in head/www/npm: . files Message-ID: <201905290818.x4T8I6Ob040324@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Wed May 29 08:18:06 2019 New Revision: 502940 URL: https://svnweb.freebsd.org/changeset/ports/502940 Log: www/npm: Fix the python executable name PR: 238204 Reported by: run failure Approved by: portmgr (blanket: ports/framework (python) compliance) Added: head/www/npm/files/patch-lib_node__modules_npm_node__modules_node-gyp_lib_configure.js (contents, props changed) Modified: head/www/npm/Makefile Modified: head/www/npm/Makefile ============================================================================== --- head/www/npm/Makefile Wed May 29 08:15:52 2019 (r502939) +++ head/www/npm/Makefile Wed May 29 08:18:06 2019 (r502940) @@ -3,6 +3,7 @@ PORTNAME= npm PORTVERSION= 6.9.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= LOCAL/sunpoet Added: head/www/npm/files/patch-lib_node__modules_npm_node__modules_node-gyp_lib_configure.js ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/npm/files/patch-lib_node__modules_npm_node__modules_node-gyp_lib_configure.js Wed May 29 08:18:06 2019 (r502940) @@ -0,0 +1,11 @@ +--- lib/node_modules/npm/node_modules/node-gyp/lib/configure.js.orig 2019-05-29 07:53:16 UTC ++++ lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +@@ -29,7 +29,7 @@ exports.usage = 'Generates ' + (win ? 'MSVC project fi + + function configure (gyp, argv, callback) { + +- var python = gyp.opts.python || process.env.PYTHON || 'python2' ++ var python = gyp.opts.python || process.env.PYTHON || 'python2.7' + , buildDir = path.resolve('build') + , configNames = [ 'config.gypi', 'common.gypi' ] + , configs = []
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905290818.x4T8I6Ob040324>