[MacPorts] Migration modified

MacPorts Wiki noreply at macports.org
Mon Oct 14 21:41:06 UTC 2019


Page "Migration" was changed by gagarine
Diff URL: <https://trac.macports.org/wiki/Migration?action=diff&version=110>
Revision 110
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Migration
=========================================================================
--- Migration (version: 109)
+++ Migration (version: 110)
@@ -1,14 +1,13 @@
-= Migrating a MacPorts installation =
+= Migrating MacPorts after major operating system upgrade or from one computer to another =
 
-A MacPorts installation is designed to work with a particular operating
-system and a particular hardware architecture. Problems may occur
-after major system changes, such as:
-- major operating system upgrades (e.g., from 10.9 Mavericks to 10.10
-  Yosemite).
+A MacPorts installation is designed to work with a particular operating system and a particular hardware architecture.
+
+Problems may occur after major system changes, such as:
+- major operating system upgrades (e.g., from 10.9 Mavericks to 10.10 Yosemite).
 - architecture migrations (e.g., from PowerPC to Intel).
 - migrations from one computer to another
-Please follow this procedure to ensure a smooth transition. (This isn't
-necessary if you only upgrade Xcode.)
+
+Please follow this procedure to ensure a smooth transition in those cases.
 
 
 Note: If you move from on Mac to another mac using [https://en.wikipedia.org/wiki/Migration_Assistant_(Apple) Migration Assistant], you have to do it first.
@@ -18,9 +17,10 @@
 
 1. [=#xcode **Install the latest version of Xcode and the Xcode command line tools**]
 
-   After a major system change, update the development tools by
-   [https://guide.macports.org/#installing.xcode installing the latest version of Xcode].
+   Update the development tools by
+   [https://guide.macports.org/#installing.xcode installing Xcode].
    Open the Xcode application once after installation and follow any prompts.
+
    Install the command line tools package as well (run `xcode-select --install`).
 
 2. [=#base **Reinstall MacPorts base system**]
@@ -28,7 +28,11 @@
    To reinstall, simply [https://www.macports.org/install.php install the base MacPorts system]
    for your new platform.
 
-   **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.
+3. [=#config **Update your macports.conf (if not default)**]
+
+   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.
+
+   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.
 
 3. [=#ports **Reinstall your ports**]
    a. Save the list of installed ports:
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/Migration>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'Migration' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list