Preventing other software from linking against MacPorts libraries
Bill Hill
mail at wbh.org
Sat May 11 11:01:52 UTC 2024
On 09/05/2024 21:13, Dave Horsfall wrote:
> The question has since been answered, but what was wrong with merely
> renaming /opt/local temporarily? That's what I would've done...
$ cat ~/Builds/bare_build.sh
unset C_INCLUDE_PATH
unset CPLUS_INCLUDE_PATH
unset LIBRARY_PATH ; export LIBRARY_PATH=/usr/lib
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Applications/CMake.app/Contents/bin:.
sudo mv /opt/local /opt/local.real
More information about the macports-users
mailing list