27 | | |
28 | | === Automatic method === #automatic |
29 | | |
30 | | As of MacPorts 1.8.0, you can alternatively try an automated rebuild of all installed ports for your new platform using these steps: |
31 | | |
32 | | 1. Uninstall the gawk, grep, and gsed ports (if installed), as many build systems will try to use them even if there is no dependency: |
33 | | {{{ |
34 | | sudo port -f uninstall installed and \( gawk grep gsed perl5 perl5.8 perl5.10 \) |
35 | | }}} |
36 | | 2. Reinstall all installed ports: |
37 | | {{{ |
38 | | sudo port upgrade --force installed |
39 | | }}} |
40 | | 3. If MacPorts has not already reinstalled them, you can now reinstall any of the ports removed in step 1, if desired. |
41 | | |
42 | | Note that this method may sometimes fail if the dependency relationships declared by the ports are not completely accurate, or if ports other than gawk/grep/gsed are used opportunistically. If you encounter such a problem, please report it so we can fix it. |