$OpenBSD: patch-deps_npm_node_modules_node-gyp_lib_configure_js,v 1.2 2012/12/12 16:51:23 abieber Exp $

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

--- deps/npm/node_modules/node-gyp/lib/configure.js.orig	Fri Dec  7 07:31:58 2012
+++ deps/npm/node_modules/node-gyp/lib/configure.js	Fri Dec  7 07:32:38 2012
@@ -23,7 +23,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')
     , hasVCExpress = false
     , hasWin71SDK = false
