Indeed, I pointed out PKG_CONFIG_PATH for other dependencies -- libjpeg
doesn't use pkg-config.
First of all, this environment variable is Linux-specific =) The mac
equivalent would be DYLD_LIBRARY_PATH
PATH is for executables; so it's quite unlikely you will have
executables in /opt/local/lib.
/opt/local/bin makes much more sense
So setting DYLD_LIBRARY_PATH should help; otherwise, check
config.log/configure.log (not sure about the
name) to see precisely what's happening. Then you can pass additional
flags to gcc using e.g. CFLAGS="..."
Gimp-developer mailing list