Changes between Version 76 and Version 77 of Migration


Ignore:
Timestamp:
Dec 14, 2014, 5:05:54 AM (9 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

Sorry, I think those changes make this page worse. The new text is overly terse, and "click here" style links are bad form.

Legend:

Unmodified
Added
Removed
Modified
  • Migration

    v76 v77  
    1 == Migrating a MacPorts install to a new major OS version or different CPU architecture ==
     1== Migrating a MacPorts installation ==
    22
    3 A MacPorts installation is designed to work with a particular operating system and a particular hardware architecture.
    4 
    5 The migration procedure below is necessary after one of these events:
    6 * upgrading the operating system, like from 10.9 (Mavericks) to 10.10 (Yostemite)
    7 * migrating to a new machine with a different architecture, like from PowerPC to Intel
    8 The migration procedure below is not necessary if you upgrade only Xcode.
     3A MacPorts installation is designed to work with a particular operating
     4system and a particular hardware architecture. Problems may occur
     5after major system changes, such as:
     6- major operating system upgrades (e.g., from 10.9 Mavericks to 10.10
     7  Yosemite).
     8- architecture migrations (e.g., from PowerPC to Intel).
     9Please follow this procedure to ensure a smooth transition. (This isn't
     10necessary if you only upgrade Xcode.)
    911
    1012=== Migration procedure ===
    1113
    12 1. **Reinstall Xcode** as explained [https://guide.macports.org/#installing.xcode here].
    13 1. **Reinstall MacPorts** as explained [https://www.macports.org/install.php here], either from the appropriate pkg or dmg file if already available or [https://www.macports.org/guide/#installing.macports.source from source].
     141. **Reinstall Xcode.** After a major system change, update the
     15   development tools by
     16   [https://guide.macports.org/#installing.xcode installing the latest version of Xcode].
     171. **Reinstall MacPorts base.** After updating the development tools,
     18   [https://www.macports.org/install.php install the base MacPorts system]
     19   for your new platform, either from the appropriate installer or from
     20   source.
    1421   a. **Update macports.conf.** If your macports.conf contains uncommented settings for universal_archs or build_arch, you will likely want to update them, since unlike earlier OS versions, the compiler on Snow Leopard and later will build for x86_64 by default on systems that support it. The default values will be fine for almost all users, so unless you know you need something different, just comment out these two lines. Several other settings in macports.conf have changed their defaults over the years. Take a moment to compare each line of your macports.conf with the corresponding line in macports.conf.default in the same directory. Unless you know a reason why a line your settings file should be different from the defaults, adopt the line from the defaults file.
    15221. [=#ports] **Reinstall ports.** To reinstall your ports: