[25641] trunk/dports/lang/gauche

Ryan Schmidt ryandesign at macports.org
Sun May 27 13:51:58 PDT 2007


On May 27, 2007, at 11:21, source_changes at macosforge.org wrote:

> Revision: 25641
>           http://trac.macosforge.org/projects/macports/changeset/25641
> Author:   takanori at macports.org
> Date:     2007-05-27 09:21:59 -0700 (Sun, 27 May 2007)
>
> Log Message:
> -----------
> * Version bump to 0.8.10.
> * Variant names should not contain hyphen.
> * Closes ticket #11979. No responce from the maintainer.
>
> Modified Paths:
> --------------
>     trunk/dports/lang/gauche/Portfile

[snip]

> Modified: trunk/dports/lang/gauche/Portfile
> ===================================================================
> --- trunk/dports/lang/gauche/Portfile	2007-05-27 15:22:23 UTC (rev  
> 25640)
> +++ trunk/dports/lang/gauche/Portfile	2007-05-27 16:21:59 UTC (rev  
> 25641)

[snip]

> -platform darwin 8 { configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/ 
> cpp-4.0 CXX=/usr/bin/g++-4.0 }

So it looks like the darwin 8 platform selector which set CC, CPP and  
CXX has been removed in this revision. Why was this removed, and why  
was it there in the first place? I've asked this before, and I'm  
still looking for a good answer for why so many ports [1] have a  
darwin 8 platform selector like this, what problem it's trying to  
solve, and why the problem is thought not to exist in the other  
ports. GCC 4 is already the default on Darwin 8 a.k.a. Mac OS X 10.4.  
If this platform selector is only trying to solve the case where the  
user has used gcc_select to select a different default GCC, then  
either MacPorts should always set CC, CPP and CXX to appropriate  
values on all platforms for all portfiles, or MacPorts should fail to  
run entirely and instead alert the user that changing the default  
with gcc_select is not advisable.


[1]

$ grep CC=/usr/bin/gcc-4.0 */*/Portfile | wc -l
      276
$ grep CPP=/usr/bin/cpp-4.0 */*/Portfile | wc -l
      217
$ grep CXX=/usr/bin/g++-4.0 */*/Portfile | wc -l
      202
$




More information about the macports-dev mailing list