gcc version mismatches

Jeremy Lavergne jeremy at lavergne.gotdns.org
Wed Nov 16 19:52:41 PST 2011

> I'm not sure what order that would upgrade the ports in. It might not be in dependency order. Also, I think this will probably rebuild ports multiple times, once for each time it appears as a dependency.
> You're better off uninstalling all ports, then installing the ports you want.

So basically follow the migration instructions, just insert "-s" when issuing install commands:

    port -qv installed > myports.txt #make a list of the installed ports
    sudo port uninstall installed # uninstall everything
    sudo port clean all #make sure all build directories are gone
    sudo port -s install X +vara -varb Y Z +varc # put everything back together again

The commands can follow some basic set operators if you know what you want to skip things, if helpful for your situation:

    sudo port uninstall installed and not category:kde and not zlib

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111116/48e6e396/attachment.bin>

More information about the macports-users mailing list