Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pythonmagick/files: pythonmagick-0.9.2-fix_detection_of_python_includedir.patch
Date: Thu, 29 Jul 2010 19:52:21
Message-Id: 20100729195215.E965C2CF37@corvid.gentoo.org
1 arfrever 10/07/29 19:52:15
2
3 Added:
4 pythonmagick-0.9.2-fix_detection_of_python_includedir.patch
5 Log:
6 Version bump (bug #326621). Don't use locate (bug #330405).
7
8 (Portage version: HEAD/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 dev-python/pythonmagick/files/pythonmagick-0.9.2-fix_detection_of_python_includedir.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythonmagick/files/pythonmagick-0.9.2-fix_detection_of_python_includedir.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pythonmagick/files/pythonmagick-0.9.2-fix_detection_of_python_includedir.patch?rev=1.1&content-type=text/plain
15
16 Index: pythonmagick-0.9.2-fix_detection_of_python_includedir.patch
17 ===================================================================
18 --- m4/ax_python.m4
19 +++ m4/ax_python.m4
20 @@ -65,7 +65,7 @@
21 [python_version=`$ax_python_bin -c 'import sys; print(".".join(str(x) for x in sys.version_info[:2]))'`]
22 AC_CHECK_LIB(python$python_version, main, ax_python_lib=python$python_version, ax_python_lib=no)
23 AC_CHECK_HEADER([python$python_version/Python.h],
24 - [[ax_python_header=`locate python$python_version/Python.h | sed -e s,/Python.h,,`]],
25 + [[ax_python_header=`$ax_python_bin -c 'import sys; print(sys.prefix + "/include/python%s.%s" % sys.version_info[:2])'`]],
26 ax_python_header=no)
27 if test $ax_python_lib != no; then
28 if test $ax_python_header != no; then