Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/geos/files: 3.2.0-darwin.patch
Date: Fri, 03 Sep 2010 18:03:19
Message-Id: 20100903180312.BDE042003C@flycatcher.gentoo.org
1 grobian 10/09/03 18:03:12
2
3 Added: 3.2.0-darwin.patch
4 Log:
5 Fix for Prefix and Darwin, bug #335811 and bug #335814
6
7 (Portage version: 2.2.01.15553-prefix/cvs/Darwin powerpc)
8
9 Revision Changes Path
10 1.1 sci-libs/geos/files/3.2.0-darwin.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/files/3.2.0-darwin.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/geos/files/3.2.0-darwin.patch?rev=1.1&content-type=text/plain
14
15 Index: 3.2.0-darwin.patch
16 ===================================================================
17 Also check for dylib before giving up, bug #335811
18
19 --- macros/ac_python_devel.m4
20 +++ macros/ac_python_devel.m4
21 @@ -42,7 +42,7 @@
22 # Check for Python library path
23 AC_MSG_CHECKING([for Python library path])
24 python_path=`python$PYTHON_VERSION -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_var("LIBDIR"))'`
25 - if test ! -f "${python_path}"/libpython$PYTHON_VERSION.so ; then
26 + if test ! -f "${python_path}"/libpython$PYTHON_VERSION.so && test ! -f "${python_path}"/libpython$PYTHON_VERSION.dylib ; then
27 python_path=""
28 fi
29 AC_MSG_RESULT([$python_path])