On Sat, Feb 19, 2022 at 05:23:41PM +0000, Christopher Jones wrote: > > But how does one (a) find out the dependency exists and (b) make > > sure the software finds python from MacPorts? > > Not so easy, as it could be hidden away in the build infrastructure. > It might not be at all obvious from just looking at the port file...
You could patch trace mode to deny access to /usr/bin/python or files in /usr/lib/python2.7. See src/port1.0/porttrace.tcl around line 200. -- Clemens