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

Steven Smith steve.t.smith at gmail.com
Mon Feb 21 12:29:15 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?


Lots of ports take the obvious approach of simply creating a symlink or “python3" to MacPorts’s  Python in, say, ${workpath}/bin$, then sticking this directory at the front of PATH.

See, e.g.

https://github.com/macports/macports-ports/blob/master/databases/arangodb/Portfile <https://github.com/macports/macports-ports/blob/master/databases/arangodb/Portfile>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20220221/748d7734/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20220221/748d7734/attachment.bin>


More information about the macports-dev mailing list