From eb145cd014cc210c3a41f4341e139b1f9bda407d Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 6 Nov 2021 12:25:54 +0100 Subject: [PATCH] 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 --- .../460-remove-python-configure-checks.patch | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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]) -- 2.30.2