--- inst/private/defaultpython.m.orig	2022-07-05 03:33:43.000000000 -0500
+++ inst/private/defaultpython.m	2022-08-12 05:59:06.000000000 -0500
@@ -33,7 +33,7 @@
 function python = defaultpython ()
 
   % PEP394 says Python 3 installs should all provide this command
-  python = 'python3';
+  python = '__MACPORTS_PYTHON__';
 
   if (ispc () && (~isunix ()))
     % 2020-03: Python.org installer/Anaconda do not provide python3
