[MacPorts] Migration modified

MacPorts noreply at macports.org
Fri Feb 17 04:54:56 PST 2012


Changed page "Migration" by m.haller at ieee.org from 85.178.64.241*
Page URL: <https://trac.macports.org/wiki/Migration>
Diff URL: <https://trac.macports.org/wiki/Migration?action=diff&version=48>
Revision 48
Comment: fix the broken MacPorts installation for Xcode 4.3 (reclaimer: worksforme)

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Migration
=========================================================================
--- Migration (version: 47)
+++ Migration (version: 48)
@@ -1,7 +1,21 @@
 == Migrating a MacPorts install: new OS, Xcode or CPU architecture ==
 
 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 upgrading XCode 4.3, you also need to run `sudo xcode-select -switch /Applications/Xcode.app` and launch Xcode once to accept its license.
+
+=== Upgrading to Xcode 4.3 ===
+
+If you are upgrading to Xcode 4.3, you also need [[BR]]
+1. to run `sudo xcode-select -switch /Applications/Xcode.app`[[BR]]
+2. launch Xcode once to accept its license,[[BR]]
+3. In Xcode, go to "Xcode > Preferences > Downloads > Components > Command Line Tools" and install it,[[BR]]
+4. edit macports.conf with `sudo nano /opt/local/etc/macports/macports.conf` and from
+{{{
+developer_dir       /Developer
+}}}
+to 
+{{{
+developer_dir       
+}}}
 
 === Reinstall Xcode and MacPorts ===
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

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


More information about the macports-changes mailing list