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

Joshua Root jmr at macports.org
Sun Feb 26 09:44:37 PST 2012


On 2012-2-27 04:00 , Clemens Lang wrote:
> Hi,
> 
> On Fri, Feb 17, 2012 at 05:53:31PM +1100, Joshua Root wrote:
>> On 2012-2-17 15:57 , Ryan Schmidt 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.
> 
> Could you elaborate on this? /usr/bin/cpp is a shell script invoking
> llvm-gcc-4.2 -E in `xcode-select -print-path` with a little mangling of
> options.

What do you want me to elaborate on exactly? You've already pointed out
the wrapper script that is required to emulate cpp using gcc -E.

(cpp-4.2 and llvm-cpp-4.2 are not shell scripts BTW.)

> Wouldn't copying this file and replacing llvm-gcc-4.2 with
> clang work?

Probably. Not sure why we would want to bother though.

- Josh


More information about the macports-dev mailing list