<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I understand why installing in /usr/local can mess up macports, but macports doesn't have everything, and most third-party software wants to go into /usr/local. Where should this stuff go, if not /usr/local?<br></blockquote>
<div> </div></div>Actually, I don't think there is that much of a problem with installing software in /usr/local, the problem is the particular way that Homebrew does it by default, taking over /usr/local completely, and it's disregard for standard ownership and permissions.<br>
<br></div><div class="gmail_extra">As long as you insure that MacPorts comes before /usr/local in your paths:<br><br>export PATH="/opt/local/sbin:/opt/local/bin:${PATH}"<br>export MANPATH="/opt/local/share/man:${MANPATH}"<br>
export INFOPATH="/opt/local/share/info:${INFOPATH}"<br><br>you shouldn't have any problems. <br><br>I can only speak from personal experience, but I have lots of third-party stuff installed in /usr/local from binary .pkg installers and manually, and I haven't experienced any issues as a result of that.<br>
<br></div><div class="gmail_extra">On a related note, Homebrew is actually based on GNU Stow. It's basically a clone/ripoff with enhancements. If you're going to use Homebrew, then use it in the same way suggested for Stow, and install packages in your home directory, leaving /usr/local alone.<br>
<br></div><div class="gmail_extra">Art<br></div></div>