Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want several machines on my network to be able to use some libraries installed with MacPorts (the libraries are ImageMagick and its dependent image libs).

I do not want to build and install for each machine -- is it possible to tell macports to install to say /Volumes/network_drive/macports? Then, I'll just configure all of my machines to add /Volumes/network_drive/macports/bin to $PATH.

Is this possible, or even good practice?

share|improve this question

A better way might be to make /opt a link to /Volumes/network_drive/macports on all the machines so the ports only needs updating by one machine but are visible on all.

Another way is chnage the port root to do that see source install in Macports install docs

share|improve this answer
Good idea. As far as getting macports to build into /Volumes/netowrk_drive/macports, I should build macports itself with ./configure --prefix /Volumes/network_drive/macports -- sound correct? – schworer Jan 27 '11 at 21:35
Thats what the docs say - and does make sense re configure - although I would not be surprised if there is a port that fails due to hard coding + those which end up in /Applications – Mark Jan 27 '11 at 21:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.