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

Clemens Lang cal at macports.org
Sun Feb 26 09:00:33 PST 2012


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. Wouldn't copying this file and replacing llvm-gcc-4.2 with
clang work?

-- 
Clemens Lang
GSoC Student



More information about the macports-dev mailing list