During Migration to Arm64 mac, should I null out archs='x86_64' from installed ports list?

Ryan Schmidt ryandesign at macports.org
Thu Apr 14 09:48:55 UTC 2022

On Apr 14, 2022, at 04:34, Peter Serocka wrote:

> Sure. On the other hand -- let me suggest MacPorts to adopt OS/architecture-specific prefixes by default. Transitions will benefit, in particular in cases where "some" ports are troublesome.

I don't think there's any chance of that happening now. MacPorts has used the /opt/local prefix for 20 years and I think you're the first person in that time to suggest changing it. There are many projects out there, and many web pages with documentation, that are already written with that prefix in mind.

Even if we thought it would be a good idea to change it, if we wanted to change it for any existing users, we would have to develop an upgrade strategy for it. And we would have to recompile all of the binary archives we offer.

Migrating to a new OS version or architecture would then become more complicated, as users would need to manually move configuration files and other data from one prefix to another.

More information about the macports-users mailing list