Preventing other software from linking against MacPorts libraries

smitty_decoy at mac.com smitty_decoy at mac.com
Thu May 9 06:03:15 UTC 2024


Hello,

I occasionally run into a problem where I'm building software from a tarball or a git clone outside of MacPorts, and the build process somehow ends up linking or trying to link against libraries in the MacPorts space (/opt/local). How can I prevent this from happening? Sometimes I just end up deleting /opt/local to get it to build and then re-install MacPorts, which can be painful or at least tiresome. I have to assume there is a better way or that I'm doing something wrong?

Thanks in advance for any thoughts,

Smith








More information about the macports-users mailing list