summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-03 18:03:12 +0000
committerFabian Groffen <grobian@gentoo.org>2010-09-03 18:03:12 +0000
commitca1b87fb47407e627ba567f67784ec1e293f2af6 (patch)
treed5cc170cde1cb05d95f6af01837bdb867d319f31 /sci-libs/geos/files
parentMarked ~amd64-linux (diff)
downloadhistorical-ca1b87fb47407e627ba567f67784ec1e293f2af6.tar.gz
historical-ca1b87fb47407e627ba567f67784ec1e293f2af6.tar.bz2
historical-ca1b87fb47407e627ba567f67784ec1e293f2af6.zip
Fix for Prefix and Darwin, bug #335811 and bug #335814
Package-Manager: portage-2.2.01.15553-prefix/cvs/Darwin powerpc
Diffstat (limited to 'sci-libs/geos/files')
-rw-r--r--sci-libs/geos/files/3.2.0-darwin.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/geos/files/3.2.0-darwin.patch b/sci-libs/geos/files/3.2.0-darwin.patch
new file mode 100644
index 000000000000..2701b5906a7b
--- /dev/null
+++ b/sci-libs/geos/files/3.2.0-darwin.patch
@@ -0,0 +1,13 @@
+Also check for dylib before giving up, bug #335811
+
+--- macros/ac_python_devel.m4
++++ macros/ac_python_devel.m4
+@@ -42,7 +42,7 @@
+ # Check for Python library path
+ AC_MSG_CHECKING([for Python library path])
+ python_path=`python$PYTHON_VERSION -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_var("LIBDIR"))'`
+- if test ! -f "${python_path}"/libpython$PYTHON_VERSION.so ; then
++ if test ! -f "${python_path}"/libpython$PYTHON_VERSION.so && test ! -f "${python_path}"/libpython$PYTHON_VERSION.dylib ; then
+ python_path=""
+ fi
+ AC_MSG_RESULT([$python_path])