d4b19dfb56
Use correct python version to build.
11 lines
428 B
Plaintext
11 lines
428 B
Plaintext
$OpenBSD: patch-build_python-search_sh,v 1.1 2011/10/21 13:04:17 ajacoutot Exp $
|
|
--- build/python-search.sh.orig Fri Oct 21 03:28:17 2011
|
|
+++ build/python-search.sh Fri Oct 21 03:29:21 2011
|
|
@@ -1,5 +1,5 @@
|
|
#!/bin/sh
|
|
-for name in python python2 python2.5 python2.6 python2.7 python2.8 python2.9
|
|
+for name in python${MODPY_VERSION}
|
|
do
|
|
$name -c 'import sys; sys.exit(not((2, 5) <= sys.version_info < (3, )))' \
|
|
2> /dev/null
|