/usr/bin/python will be removed in macOS 12.3!

Clemens Lang cal at macports.org
Sat Feb 19 19:25:08 UTC 2022


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


More information about the macports-dev mailing list