summaryrefslogtreecommitdiff
path: root/dev-libs/gobject-introspection/files
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-11-07 12:54:17 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-11-07 12:54:17 +0200
commit5a01792340999d37435f5000a3f6b8e0f2d11815 (patch)
tree4bcca1f73cc4ab721b3c31ea81585917f909ebc7 /dev-libs/gobject-introspection/files
parent86c8d1f28bd2b785ccbb28f41c4e0763d062ba2f (diff)
Added the full elimination of sabayon-version
Diffstat (limited to 'dev-libs/gobject-introspection/files')
-rw-r--r--dev-libs/gobject-introspection/files/disable_python.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/gobject-introspection/files/disable_python.patch b/dev-libs/gobject-introspection/files/disable_python.patch
new file mode 100644
index 00000000..aec1394c
--- /dev/null
+++ b/dev-libs/gobject-introspection/files/disable_python.patch
@@ -0,0 +1,33 @@
+--- configure.ac_orig 2013-03-23 12:21:11.907228112 +0100
++++ configure.ac 2013-03-23 12:21:53.982820539 +0100
+@@ -259,18 +259,18 @@
+ AC_CHECK_FUNCS([backtrace backtrace_symbols])
+
+ # Python
+-AM_PATH_PYTHON([2.6])
+-case "$host" in
+-*-*-mingw*)
+- # Change backslashes to forward slashes in pyexecdir to avoid
+- # quoting issues
+- pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
+- ;;
+-esac
+-AM_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
+-if test "x$os_win32" = "xyes"; then
+- AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.]))
+-fi
++#AM_PATH_PYTHON([2.6])
++#case "$host" in
++#*-*-mingw*)
++# # Change backslashes to forward slashes in pyexecdir to avoid
++# # quoting issues
++# pyexecdir=`echo $pyexecdir | tr '\\\\' '/'`
++# ;;
++#esac
++#AM_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
++#if test "x$os_win32" = "xyes"; then
++# AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.]))
++#fi
+
+ dnl Not enabled by default until 3.6 cycle when we can propose mako as
+ dnl an external dependency