--- configure.orig	2020-04-20 07:13:39.000000000 +1000
+++ configure	2021-10-10 07:27:13.000000000 +1100
@@ -3217,6 +3217,8 @@
 			;;
 		esac
 
+		FRAMEWORKINSTALLAPPSPREFIX="@@APPLICATIONS_DIR@@"
+
 		prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION
 
 		# Add files for Mac specific code to the list of output
@@ -6501,7 +6503,7 @@
 # normal names in the default $PATH (ie: Ubuntu).  They exist under the
 # non-suffixed name in their versioned llvm directory.
 llvm_bin_dir=''
-llvm_path="${PATH}"
+llvm_path="/bin:/sbin:/usr/bin:/usr/sbin"
 if test "${CC}" = "clang"
 then
   clang_bin=`which clang`
