$OpenBSD: patch-deps_npm_node_modules_node-gyp_lib_configure_js,v 1.1.1.1 2012/05/23 15:11:43 jasper Exp $

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

--- deps/npm/node_modules/node-gyp/lib/configure.js.orig	Mon May  7 20:10:42 2012
+++ deps/npm/node_modules/node-gyp/lib/configure.js	Mon May  7 20:11:02 2012
@@ -17,7 +17,7 @@ exports.usage = 'Generates ' + (win ? 'MSVC project fi
 
 function configure (gyp, argv, callback) {
 
-  var python = process.env.PYTHON || gyp.opts.python || 'python'
+  var python = process.env.PYTHON || gyp.opts.python || 'python${MODPY_VERSION}'
     , buildDir = path.resolve('build')
     , configPath
     , versionStr
