include problem building BDB 4.6.21 w/ /usr/local

Joshua Root jmr at macports.org
Fri Oct 23 08:54:13 PDT 2009


On 2009-10-24 02:20, Bayard Bell wrote:
> Hmm. Digging will continue. I'll look into modifications to dtruss to
> capture more of the environment and args.

Like I said, it's a gcc thing. The list of default include paths is
defined here:

<http://www.opensource.apple.com/source/gcc/gcc-5646/gcc/cppdefault.c>

As you can see, LOCAL_INCLUDE_DIR is in there, which is defined in:

<http://www.opensource.apple.com/source/gcc/gcc-5646/gcc/Makefile.in>

as '$(local_prefix)/include', where local_prefix comes from:

<http://www.opensource.apple.com/source/gcc/gcc-5646/gcc/configure>

and defaults to /usr/local.

- Josh


More information about the macports-users mailing list