openbsd-ports/devel/automake/1.11/patches/patch-m4_python_m4
robert 25b0f1cb15 Add missing python versions to automake to make them work with python 2.6
and 2.7, since a lot of software use these macros to detect the installed
python version and since we use 2.7 as the default now, these were all
failing.

patch from Brad, ok jasper@ and sthen@
2011-06-20 20:28:44 +00:00

13 lines
646 B
Plaintext

$OpenBSD: patch-m4_python_m4,v 1.1 2011/06/20 20:28:44 robert Exp $
--- m4/python.m4.orig Tue Dec 8 13:02:32 2009
+++ m4/python.m4 Wed Jun 15 15:46:57 2011
@@ -37,7 +37,7 @@ AC_DEFUN([AM_PATH_PYTHON],
dnl Find a Python interpreter. Python versions prior to 2.0 are not
dnl supported. (2.0 was released on October 16, 2000).
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
- [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl
+ [python python2 python3 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
python2.1 python2.0])
m4_if([$1],[],[