From: Sebastian Kemper Date: Sat, 6 Nov 2021 11:25:54 +0000 (+0100) Subject: freeswitch: don't check for distutils X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eb145cd014cc210c3a41f4341e139b1f9bda407d;p=feed%2Ftelephony.git freeswitch: don't check for distutils We're not using distutils, so don't check for it. This fixes #704. Signed-off-by: Sebastian Kemper --- diff --git a/net/freeswitch/patches/460-remove-python-configure-checks.patch b/net/freeswitch/patches/460-remove-python-configure-checks.patch index ccbedda..79f8e26 100644 --- a/net/freeswitch/patches/460-remove-python-configure-checks.patch +++ b/net/freeswitch/patches/460-remove-python-configure-checks.patch @@ -1,6 +1,25 @@ --- a/configure.ac +++ b/configure.ac -@@ -1865,24 +1865,12 @@ then +@@ -1853,36 +1853,24 @@ then + fi + AC_MSG_RESULT([$PYTHON3_VER]) + +- AC_MSG_CHECKING([for python3 distutils]) +- python3_result="`$PYTHON3 -c 'import distutils;' 2>&1`" +- if test -z "$python3_result" ; then ++ #AC_MSG_CHECKING([for python3 distutils]) ++ #python3_result="`$PYTHON3 -c 'import distutils;' 2>&1`" ++ #if test -z "$python3_result" ; then + python3_has_distutils="yes" +- else +- python3_has_distutils="no" +- fi +- AC_MSG_RESULT([$python3_has_distutils]) ++ #else ++ # python3_has_distutils="no" ++ #fi ++ #AC_MSG_RESULT([$python3_has_distutils]) + if test "$python3_has_distutils" != "no" ; then AC_MSG_CHECKING([location of python3 site-packages])