Changes between Version 109 and Version 110 of Migration


Ignore:
Timestamp:
Oct 14, 2019, 9:41:05 PM (5 years ago)
Author:
gagarine (Simon)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Migration

    v109 v110  
    1 = Migrating a MacPorts installation =
     1= Migrating MacPorts after major operating system upgrade or from one computer to another =
    22
    3 A MacPorts installation is designed to work with a particular operating
    4 system and a particular hardware architecture. Problems may occur
    5 after major system changes, such as:
    6 - major operating system upgrades (e.g., from 10.9 Mavericks to 10.10
    7   Yosemite).
     3A MacPorts installation is designed to work with a particular operating system and a particular hardware architecture.
     4
     5Problems may occur after major system changes, such as:
     6- major operating system upgrades (e.g., from 10.9 Mavericks to 10.10 Yosemite).
    87- architecture migrations (e.g., from PowerPC to Intel).
    98- migrations from one computer to another
    10 Please follow this procedure to ensure a smooth transition. (This isn't
    11 necessary if you only upgrade Xcode.)
     9
     10Please follow this procedure to ensure a smooth transition in those cases.
    1211
    1312
     
    19181. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**]
    2019
    21    After a major system change, update the development tools by
    22    [https://guide.macports.org/#installing.xcode installing the latest version of Xcode].
     20   Update the development tools by
     21   [https://guide.macports.org/#installing.xcode installing Xcode].
    2322   Open the Xcode application once after installation and follow any prompts.
     23
    2424   Install the command line tools package as well (run `xcode-select --install`).
    2525
     
    2929   for your new platform.
    3030
    31    **Update macports.conf**: If your {{{macports.conf}}} (typically at {{{ /opt/local/etc/macports/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 in your settings file should be different from the defaults, adopt the line from the defaults file.
     313. [=#config **Update your macports.conf (if not default)**]
     32
     33   If your {{{macports.conf}}} (typically at {{{ /opt/local/etc/macports/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. Default values are fine for most users, so unless you know you need something different, just comment out these two lines.
     34
     35   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 in your settings file should be different from the defaults, adopt the line from the defaults file.
    3236
    33373. [=#ports **Reinstall your ports**]