MacPorts 1.5.2 now available

Jay Sachs jay+macports at covariant.org
Wed Aug 22 06:34:04 PDT 2007


> export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/opt/local/lib"
> CFLAGS="-L/opt/local/lib -I/opt/local/include" ./configure

Just to be clear, neither of those excludes /usr/local/{include,lib}  
-- they just put /opt/local into the search path. I suspect that  
you'd really want /opt/local first in the library path, e.g.

export DYLD_LIBRARY_PATH="/opt/local/lib:$DYLD_LIBRARY_PATH"

I think completely avoiding /opt/local is more hygienic -- that way  
MP only depends on Apple-provided libraries and on libraries it  
itself manages.

j.




More information about the macports-users mailing list