[58577] trunk/dports/net/tuntaposx

Rainer Müller raimue at macports.org
Thu Oct 1 02:52:40 PDT 2009


On 2009-10-01 11:44 , Ryan Schmidt wrote:
>> -# doesn't build 64-bit
>> -configure.universal_archs-delete x86_64 ppc64
>> +configure {
>> +	if {[variant_isset darwin_10] && ![variant_isset universal]} {
>> +		# Kernel can be 32-bit or 64-bit, so build both
>> +		configure.cflags-append -arch i386 -arch x86_64
>> +	}
> 
> Is that different from what would happen if you selected the universal  
> variant? Or would it make sense to just use "default_variants  
> +universal" on Snow Leopard?

A platform statement cannot modify default_variants as at the evaluation
time the variants are already selected.

I could have put that in a conditional block checking for os.major, but
that would leave out any indication in the resulting installation that
the build has been modified for SL.

Rainer


More information about the macports-dev mailing list