3 | | An installation of MacPorts and the ports installed by it are only designed to work on a single OS release and a single CPU architecture. If you upgrade to a new OS version (e.g. from Leopard to Snow Leopard) or migrate to a new machine with a different type of CPU (e.g. PowerPC to Intel), you may get lucky and have your ports keep working, but in general, things will break. |
4 | | If you are only upgrading Xcode (e.g. 4.1 to 4.2 on Lion) but not the major OS version or CPU architecture, you do not need to reinstall ports as described below. |
| 3 | A MacPorts installation is designed to work with a particular operating |
| 4 | system and a particular hardware architecture. Upgrading the operating |
| 5 | system (e.g., from Mavericks to Yosemite) or migrating to a new machine |
| 6 | with a different architecture (e.g., from PowerPC to Intel) will |
| 7 | generally cause problems. The following procedure is designed to prevent |
| 8 | such problems. |
| 9 | |
| 10 | (The procedure is not necessary after Xcode upgrades unless one of the |
| 11 | scenarios listed above also applies.) |
| 12 | |