svn commit: r502940 - in head/www/npm: . files

Yuri Victorovich yuri at FreeBSD.org
Wed May 29 08:18:07 UTC 2019


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 = []


More information about the svn-ports-all mailing list