[MacPorts] Migration modified

MacPorts noreply at macports.org
Wed Oct 23 02:37:15 PDT 2013


Page "Migration" was changed by raimue at macports.org
Diff URL: <https://trac.macports.org/wiki/Migration?action=diff&version=58>
Revision 58
Comment: Be more verbose on what to do for each OS X release
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Migration
=========================================================================
--- Migration (version: 57)
+++ Migration (version: 58)
@@ -3,11 +3,28 @@
 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.
 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.
 
-=== Reinstall Xcode and MacPorts ===
+=== Reinstall Xcode ===
 
-After performing either of these types of system upgrades, you will first need to [https://www.macports.org/install.php install the base MacPorts system] again, either from the appropriate disk image or from source. If you are upgrading from a prior version of Mac OS X, install the latest version of Xcode for your new OS. This will not be done for you automatically; Xcode is not updated by Software Update, so you must update it manually. For Lion, Xcode is available for free on the Mac App Store (after install you may also need to install "Command Line Tools": XCode->Preferences->Downloads; if upgrading from previous version of xcode you may also need to do 'sudo xcode-select -switch /Applications/Xcode.app', [http://stackoverflow.com/questions/9849034/how-to-run-install-xcodebuild see this SO article]). For earlier OS versions, you will find the Xcode installer on the Mac OS X installation DVD or on the Apple Developer web site.
+After performing either of these types of system upgrades, you will need to update the development tools. If you are upgrading from a prior version of Mac OS X, install the latest version of Xcode for your new OS. This will not be done for you automatically; Xcode is not updated by Software Update, so you must update it manually. 
 
-=== Update macports.conf ===
+==== Mac OS X 10.6 Snow Leopard and earlier ====
+
+You will find the Xcode installer on the Mac OS X installation DVD or on the Apple Developer web site.
+
+==== Mac OS X 10.7 Lion and OS X 10.8 Mountain Lion ====
+
+Xcode is available for free on the Mac App Store (after install you may also need to install "Command Line Tools": XCode->Preferences->Downloads; if upgrading from previous version of xcode you may also need to do 'sudo xcode-select -switch /Applications/Xcode.app', [http://stackoverflow.com/questions/9849034/how-to-run-install-xcodebuild see this SO article]).
+
+==== Mac OS X 10.9 Mavericks ====
+
+For minimum support of MacPorts, you need the Command Line Tools, which can be installed using `xcode-select --install`. Note that some ports will require a full Xcode installation, which is available for free on the Mac App Store.
+
+
+=== Reinstall MacPorts ===
+
+After updating the development tools such as Xcode and the Command Line Tools, [https://www.macports.org/install.php install the base MacPorts system] again, either from the appropriate disk image if already available or from source.
+
+==== 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 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.
 
@@ -35,7 +52,7 @@
 }}}
 Note that if you have specified variants which are not the default, you may need to install ports in an order other than the alphabetical order recorded in `myports.txt`.
 
-=== Automatically reinstall ports === #automatic
+==== Automatically reinstall ports ==== #automatic
 
 A script has been written to automate Step 4 above, though it has some caveats. If it fails, you will just have to do it manually. (But see workaround for conflicting ports below.)
 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

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

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 .


More information about the macports-changes mailing list