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.

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to