Problem with Macports, homebrew, and ghostscript

Clemens Lang cal at
Tue Feb 11 16:20:18 PST 2014


> You might want to rebuild your ports to ensure they did not link against
> /usr/local.
> This probably works for this purpose:
> sudo mv /usr/local{,-moved-for-macports}
> port echo installed > port-installed.txt
> port echo requested and active > port-requested-active.txt
> sudo port -f uninstall installed
> cat port-requested-active.txt | xargs sudo port install

I don't think this is necessary since we have rev-upgrade. Instead, do this:

$> sudo mv /usr/local{,-moved-for-macports}
$> sudo port rev-upgrade

There might be cases this doesn't catch, but those are very rare.

Clemens Lang

More information about the macports-users mailing list