summaryrefslogtreecommitdiff
path: root/devel/gobject-introspection/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gobject-introspection/files/patch-configure')
-rw-r--r--devel/gobject-introspection/files/patch-configure32
1 files changed, 25 insertions, 7 deletions
diff --git a/devel/gobject-introspection/files/patch-configure b/devel/gobject-introspection/files/patch-configure
index 7fbbcde68d78..d2838d890f5e 100644
--- a/devel/gobject-introspection/files/patch-configure
+++ b/devel/gobject-introspection/files/patch-configure
@@ -1,11 +1,29 @@
---- configure.orig 2011-05-02 17:19:45.000000000 -0500
-+++ configure 2011-05-02 17:19:58.000000000 -0500
-@@ -15983,7 +15983,7 @@
+--- 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"`
--PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
-+PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --cflags`
- if test "$py_prefix" != "$py_exec_prefix"; then
- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
+-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 --cflags`
+ if test "$py_prefix" != "$py_exec_prefix"; then
+- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
++ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --cflags`
+ 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
+