openbsd-ports/devel/automake/1.9/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
592 B
Plaintext

$OpenBSD: patch-m4_python_m4,v 1.1 2011/06/20 20:28:44 robert Exp $
--- m4/python.m4.orig Fri Jul 1 17:39:16 2005
+++ m4/python.m4 Sat Mar 12 13:34:20 2011
@@ -39,7 +39,7 @@ AC_DEFUN([AM_PATH_PYTHON],
dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
dnl in 1.5.
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
- [python python2 python2.5 python2.4 python2.3 python2.2 dnl
+ [python python2 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
python2.1 python2.0 python1.6 python1.5])
m4_if([$1],[],[