On Nov 13, 2011, at 19:27, Matthew Cottrell wrote:

> I'm trying to use the right compiler, but ${configure.cpp} is empty on my 
> system.  How do I satisfy a port that needs cpp?
> 
> I do have the other stuff
> 
> ${configure.cc}=/Developer/usr/bin/clang
> ${configure.cxx}=/Developer/usr/bin/clang++

configure.cpp should be populated for most compilers, but MacPorts does not set 
the CPP environment variable for you; doing so caused problems for more ports 
than it solved.

If you have a port that needs CPP set, set it yourself, as in:

configure.env CPP=${configure.cpp}

But I do see that configure.cpp is empty when the compiler is clang. Typically, 
when $(CPP) is empty, software will use "$(CC) -E". So you could try setting it 
that way.


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

Reply via email to