$OpenBSD: patch-deps_npm_node_modules_node-gyp_lib_find-python_js,v 1.1 2019/11/24 18:42:28 abieber Exp $

Index: deps/npm/node_modules/node-gyp/lib/find-python.js
--- deps/npm/node_modules/node-gyp/lib/find-python.js.orig
+++ deps/npm/node_modules/node-gyp/lib/find-python.js
@@ -93,9 +93,9 @@ PythonFinder.prototype = {
           arg: 'python'
         },
         {
-          before: () => { this.addLog('checking if "python2" can be used') },
+          before: () => { this.addLog('checking if "python${MODPY_VERSION}" can be used') },
           check: this.checkCommand,
-          arg: 'python2'
+          arg: 'python${MODPY_VERSION}'
         },
         {
           before: () => { this.addLog('checking if "python3" can be used') },
