[36765] trunk/base/src/port1.0/portutil.tcl

Rainer Müller raimue at macports.org
Wed May 14 17:38:34 PDT 2008


nox wrote:
> Le 14 mai 08 à 11:36, ryandesign at macports.org a écrit :
> 
>> Revision 36765
>>  proc add_default_universal_variant {args} {
>> -    # Declare default universal variant, on >10.3
>> +    # Declare default universal variant if universal SDK is installed
>>      variant universal description {Build for multiple  
>> architectures} {
>>          if {![file exists ${configure.universal_sysroot}]} {
>>              return -code error "Universal SDK is not installed (are  
>> we running on 10.3? did you forget to install it?) and building with  
>> +universal will very likely fail"
> 
> By the way, the check for SDK should be in a pre-fetch block,  
> shouldn't it?

It should be in a pre-fetch block. I think with this implementation 
commands like 'port info +universal' will fail on 10.3 or if the 
Universal SDK is missing.

I added the pre-fetch block in r36800.

Rainer


More information about the macports-dev mailing list