summaryrefslogtreecommitdiffstats
path: root/devel/gobject-introspection/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gobject-introspection/files')
-rw-r--r--devel/gobject-introspection/files/patch-configure23
1 files changed, 19 insertions, 4 deletions
diff --git a/devel/gobject-introspection/files/patch-configure b/devel/gobject-introspection/files/patch-configure
index 69341c5ae..7b5ed4958 100644
--- a/devel/gobject-introspection/files/patch-configure
+++ b/devel/gobject-introspection/files/patch-configure
@@ -1,10 +1,12 @@
---- configure.orig 2011-09-21 14:02:30.000000000 +0200
-+++ configure 2011-09-21 14:05:08.000000000 +0200
-@@ -14401,9 +14401,9 @@
+--- configure.orig 2011-09-23 11:49:54.000000000 +0200
++++ configure 2011-09-23 11:50:31.000000000 +0200
+@@ -14400,10 +14400,10 @@
+ $as_echo_n "checking for headers required to compile python extensions... " >&6; }
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
- if test "x$PYTHON_INCLUDES" == x; then
+-if test "x$PYTHON_INCLUDES" == x; then
- PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
++if test "x$PYTHON_INCLUDES" = x; then
+ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --includes`
if test "$py_prefix" != "$py_exec_prefix"; then
- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
@@ -12,3 +14,16 @@
fi
fi
+@@ -14429,10 +14429,10 @@
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link against libpython" >&5
+ $as_echo_n "checking for libraries required to link against libpython... " >&6; }
+-if test "x$PYTHON_LIBS" == x; then
++if test "x$PYTHON_LIBS" = x; then
+ PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
+ fi
+-if test "x$PYTHON_LIB_LOC" == x; then
++if test "x$PYTHON_LIB_LOC" = x; then
+ PYTHON_LIB_LOC="${py_prefix}/lib"
+ fi
+