$OpenBSD: patch-deps_npm_node_modules_node-gyp_lib_configure_js,v 1.4 2015/10/24 02:46:47 abieber Exp $

Make sure node-gyp is able to find a python executable.

--- deps/npm/node_modules/node-gyp/lib/configure.js.orig	Wed Aug 12 09:46:10 2015
+++ deps/npm/node_modules/node-gyp/lib/configure.js	Wed Aug 12 09:46:37 2015
@@ -23,7 +23,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 || 'python${MODPY_VERSION}'
     , buildDir = path.resolve('build')
     , configNames = [ 'config.gypi', 'common.gypi' ]
     , configs = []
