| 27 | | As of MacPorts 1.8.0, you can alternatively try a single command to rebuild all installed ports for your new platform: |
| | 27 | As of MacPorts 1.8.0, you can alternatively try an automated rebuild of all installed ports for your new platform using these steps: |
| | 28 | |
| | 29 | 1. Check if you have the port "grep" installed: |
| | 30 | {{{ |
| | 31 | port installed grep |
| | 32 | }}} |
| | 33 | If grep is installed, uninstall it and rebuild it: |
| | 34 | {{{ |
| | 35 | sudo port -f uninstall grep |
| | 36 | sudo port install grep |
| | 37 | }}} |
| | 38 | If grep is not installed, proceed to the next step. |
| | 39 | 2. Repeat step 1., substituting "gawk" in place of "grep". |
| | 40 | 3. Repeat step 1. again, substituting "gsed" in place of "grep". |
| | 41 | 4. Reinstall all installed ports: |