$OpenBSD: patch-tools_wafadmin_Tools_python_py,v 1.1.1.1 2012/05/23 15:11:43 jasper Exp $ --- tools/wafadmin/Tools/python.py.orig Wed Nov 16 13:53:19 2011 +++ tools/wafadmin/Tools/python.py Wed Nov 16 13:54:02 2011 @@ -374,7 +374,7 @@ def detect(conf): if not conf.env.PYTHON: conf.env.PYTHON = sys.executable - python = conf.find_program('python', var='PYTHON') + python = conf.find_program('${MODPY_BIN}', var='PYTHON') if not python: conf.fatal('Could not find the path of the python executable')