$OpenBSD: patch-deps_npm_node_modules_node-gyp_lib_configure_js,v 1.3 2014/07/10 19:53:30 landry Exp $

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

--- deps/npm/node_modules/node-gyp/lib/configure.js.orig	Fri May  2 02:47:47 2014
+++ deps/npm/node_modules/node-gyp/lib/configure.js	Thu Jul 10 16:15:20 2014
@@ -22,7 +22,7 @@ exports.usage = 'Generates ' + (win ? 'MSVC project fi
 
 function configure (gyp, argv, callback) {
 
-  var python = gyp.opts.python || process.env.PYTHON || 'python'
+  var python = gyp.opts.python || process.env.PYTHON || 'python${MODPY_VERSION}'
     , buildDir = path.resolve('build')
     , configNames = [ 'config.gypi', 'common.gypi' ]
     , configs = []
