pidgin: Use python3 during build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2019-11-26 23:59:39 -08:00
parent 324dec2a55
commit 84f890bc14
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- a/configure.ac
+++ b/configure.ac
@@ -1488,7 +1488,7 @@ AC_ARG_WITH([python],
if test "x$enable_dbus" = "xyes" || test "x$enable_consoleui" = "xyes" ; then
if test -z "$PYTHON" -o "x$PYTHON" = "xyes"; then
- AC_PATH_PROG([PYTHON], [python], [no])
+ AC_PATH_PROG([PYTHON], [python3], [no])
fi
if test x"$PYTHON" = x"no" ; then
@@ -1568,7 +1568,7 @@ dnl Check for Python headers (currently
dnl (Thanks to XChat)
if test "x$enable_consoleui" = "xyes" -a ! -z "$PYTHON" -a x"$PYTHON" != x"no" ; then
AC_MSG_CHECKING(for Python compile flags)
- PKG_CHECK_MODULES(PY, python, [
+ PKG_CHECK_MODULES(PY, python3, [
AC_SUBST(PY_CFLAGS)
AC_SUBST(PY_LIBS)
], [

View File

@ -11,6 +11,7 @@ SRC_URI = "\
file://sanitize-configure.ac.patch \
file://purple-OE-branding-25.patch \
file://pidgin-cross-python-265.patch \
file://use_py3.patch \
"
SRC_URI[md5sum] = "423403494fe1951e47cc75231f743bb0"