On Aug 7, 2013, at 14:51, Bradley Giesbrecht wrote:

> Is there a var to indicate if any configure -arch is 64bit?
> 
> Is something like this safe?
> string first 64 [join ${configure.universal_archs}]

Nothing built-in, no.


boost uses:

if {[lsearch ${build_arch} *64] != -1} {

and

if {[lsearch ${universal_archs} *64] != -1} {


python24 has:

if {(![variant_isset universal] && ![string match *64* $build_arch]) || 
([variant_isset universal] && ![string match *64* $universal_archs])} {


Seems to me like you could simplify that using [get_canonical_archs].


_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to