[51027] trunk/dports/devel

Ryan Schmidt ryandesign at macports.org
Wed Jul 29 13:30:15 PDT 2009


On Jul 29, 2009, at 11:35, Toby Peterson wrote:

> Setting CPP explicitly qualifies as "trying too hard". Nearly every  
> port in existence will use "$(CC) -E", so setting CC is sufficient.  
> The intended use of the CPP environment variable is to not set it  
> at all. :)
>
> I changed it for gcc-4.2 only, so as to not affect current behavior  
> on older OS releases.

I don't think this needs to be something that varies by OS version.

If you say setting CPP is not necessary, and will not result in more  
ports trying to use "cpp" or "gcc", then how about we just rename  
configure.cpp to configure.rawcpp (so MacPorts sets RAWCPP and not  
CPP)? We would need to handle the existing ports that use  
configure.cpp carefully but long-term does this sound like an ok plan?



More information about the macports-dev mailing list