$OpenBSD: patch-build_python-search_sh,v 1.2 2017/08/03 08:35:06 bentley Exp $
--- build/python-search.sh.orig	Sun May  7 00:51:40 2017
+++ build/python-search.sh	Sun May  7 00:51:39 2017
@@ -1,5 +1,5 @@
 #!/bin/sh
-for name in python python2 python2.6 python2.7 python2.8 python2.9
+for name in python${MODPY_VERSION}
 do
 	$name -c 'import sys; sys.exit(not((2, 6) <= sys.version_info < (3, )))' \
 		2> /dev/null
