Before I start getting into the details, I would like to know if the ROOT team would be open to a diff to the configure script that would allow ROOT to find libs in /opt/local (like fftw3, etc).
If I get a green light, I can start digging into the details.
So, I tried to expand the thing a little bit further so that it could use the OpenAFS, by adding it to configure
Checking for libafsauthent ... /Library/OpenAFS/Tools/lib
Checking for libafsrpc ... /Library/OpenAFS/Tools/lib
Checking for afs/stds.h ... /Library/OpenAFS/Tools/include
Checking for afs/kautils.h ... /Library/OpenAFS/Tools/include
but when compiling I got
bin/rmkdepend -R -fauth/src/AFSAuth.d -Y -w 1000 -- -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -D_REENTRANT -pthread -D__cplusplus -- auth/src/AFSAuth.cxx
g++ -O2 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -D_REENTRANT -pthread -o auth/src/AFSAuth.o -c auth/src/AFSAuth.cxx
auth/src/AFSAuth.cxx:27:22: error: afs/stds.h: No such file or directory
auth/src/AFSAuth.cxx:28:25: error: afs/kautils.h: No such file or directory
auth/src/AFSAuth.cxx:29:25: error: afs/com_err.h: No such file or directory