pkgsrc/devel/automake/patches/patch-ab
wiz 30b6237d5f Recognize newer python versions. Fixed in upstream git, slightly differently.
PKGREVISION++

While here, add comment to patch and please pkglint.
2010-10-17 00:39:32 +00:00

15 lines
718 B
Text

$NetBSD: patch-ab,v 1.5 2010/10/17 00:39:33 wiz Exp $
Recognize newer python versions. Fixed in upstream git, slightly differently.
--- m4/python.m4.orig 2009-12-08 18:02:32.000000000 +0000
+++ m4/python.m4
@@ -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.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
python2.1 python2.0])
m4_if([$1],[],[