[Python-modules-commits] r18967 - in packages/pythonmagick/trunk/debian/patches (1 file)
sramacher-guest at users.alioth.debian.org
sramacher-guest at users.alioth.debian.org
Mon Oct 17 18:06:13 UTC 2011
Date: Monday, October 17, 2011 @ 18:06:10
Author: sramacher-guest
Revision: 18967
Add patch to detect Python 2.7 and honor PYTHON environment variable.
Added:
packages/pythonmagick/trunk/debian/patches/003_detect_py27.diff
Added: packages/pythonmagick/trunk/debian/patches/003_detect_py27.diff
===================================================================
--- packages/pythonmagick/trunk/debian/patches/003_detect_py27.diff (rev 0)
+++ packages/pythonmagick/trunk/debian/patches/003_detect_py27.diff 2011-10-17 18:06:10 UTC (rev 18967)
@@ -0,0 +1,17 @@
+Description: detect Python 2.7 and honor PYTHON
+Author: Sebastian Ramacher <s.ramacher at gmx.at>
+Last-Update: 2011-10-17
+
+--- pythonmagick-0.9.1.orig/m4/ax_python.m4
++++ pythonmagick-0.9.1/m4/ax_python.m4
+@@ -58,7 +58,9 @@
+ AC_DEFUN([AX_PYTHON],
+ [AC_MSG_CHECKING(for python build information)
+ AC_MSG_RESULT([])
+-for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
++echo $PYTHON $python
++for python in python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
++if test x$PYTHON != x && test $PYTHON != $python; then continue; fi
+ AC_CHECK_PROGS(PYTHON_BIN, [$python])
+ ax_python_bin=$PYTHON_BIN
+ if test x$ax_python_bin != x; then
Property changes on: packages/pythonmagick/trunk/debian/patches/003_detect_py27.diff
___________________________________________________________________
Added: svn:keywords
+ Id
More information about the Python-modules-commits
mailing list