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 000000000..a5fbf6e92 --- /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.5]) +-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.5]) ++#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 diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.38.0-r1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.38.0-r1.ebuild index c7cb6e289..3074d4bbc 100644 --- a/dev-libs/gobject-introspection/gobject-introspection-1.38.0-r1.ebuild +++ b/dev-libs/gobject-introspection/gobject-introspection-1.38.0-r1.ebuild @@ -47,6 +47,9 @@ disable_python_for_x86() { if use amd64 && [ "$ABI" == "x86" ]; then cd ${BUILD_DIR} + # disable configure checks + epatch ${FILESDIR}/disable_python.patch + # disable python bindings sed -i "s/include Makefile-giscanner.am//" Makefile.am || die "sed failed"