diff options
Diffstat (limited to 'dev-libs/gobject-introspection/files')
-rw-r--r-- | dev-libs/gobject-introspection/files/disable_python.patch | 33 |
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 |