MacPorts wants to install apple-gcc42 on 10.6 all of a sudden?

Ryan Schmidt ryandesign at macports.org
Tue Apr 23 13:43:31 PDT 2013


On Apr 22, 2013, at 12:00, Chris Jones wrote:

> yes. and no…. other ports use the more standard 'clangXY' variant naming (to match the gccXY names).
> 
> Chris-Jones-Macbook-Pro ~ > port list variants:clang33
> atlas                          @3.10.1         math/atlas
> root                           @5.34.06        science/root
> root                           @5.34.05        science/root
> shogun                         @2.1.0          math/shogun
> 
> it appears atlas does as well… so it has both mpclang33 and clang33 ….

You can see from "port variants atlas" that's not so. The pseudoport syntax "variants:clang33" means "ports whose list of variants *contains* the string clang33". Pseudoport syntax uses regular expressions. Unfortunately, the match is made over the entire list of variants, not each individual variant, so if you want an exact variant name match, you have to jump through hoops:


$ port echo 'variants:(^| )clang33($| )'
root
shogun




More information about the macports-users mailing list