[89842] trunk/dports/x11/xorg-libX11/Portfile

Joshua Root jmr at macports.org
Thu Feb 16 23:13:55 PST 2012


On 2012-2-17 18:05 , Andrea D'Amore wrote:
> On Fri, Feb 17, 2012 at 07:53, Joshua Root <jmr at macports.org> wrote:
> 
>>> Wouldn't "${configure.cc} -E" be a sensible value?
> 
>> With gcc, that doesn't behave quite the same as running cpp. So probably
>> not if clang is maintaining gcc compatibility in this respect.
> 
> How would the port compile out of Macports if only clang (say Xcode
> 4.2) were available?
> i.e. what program would act as preprocessor?

Clang has a preprocessor of course. But it's not clear that it provides
something suitable to set RAWCPP to. Maybe there is some flag that makes
it behave appropriately; I don't know.

(Xcode 4.2 still has llvm-cpp-4.2 as /usr/bin/cpp so it's not really an
example of what you're asking about.)

- Josh


More information about the macports-dev mailing list