[73039] trunk/dports/_resources/port1.0/group/qt4-1.0.tcl
Michael Dickens
michaelld at macports.org
Fri Nov 5 06:49:50 PDT 2010
I just updated to the latest SVN version of 'port', and "get_canonical_archs" no longer works for me (it did from 'port' just a few weeks old): it is always set to the native compile arch no matter if I specify +universal or anything else. Any other suggestions on how to globally set arch types? I can always revert back to using a 'proc' that is sets the option/global, which would then be correctly set & available for use.
Another question related to this: what is the difference between a 'global' variable versus an 'options' one?
On Nov 1, 2010, at 6:00 PM, jmr at macports.org wrote:
> qt4 portgroup: fix qt_arch_types so it doesn't only exist in the patch phase
> Modified Paths
>
> --- trunk/dports/_resources/port1.0/group/qt4-1.0.tcl 2010-11-01 21:54:50 UTC (rev 73038)
> +++ trunk/dports/_resources/port1.0/group/qt4-1.0.tcl 2010-11-01 22:00:03 UTC (rev 73039)
>
> -DQT_PNG_LIBRARY=${prefix}/lib/libpng.dylib"
> # set Qt understood arch types, based on user preference
> +options qt_arch_types
> +default qt_arch_types {[string map {i386 x86} [get_canonical_archs]]}
More information about the macports-dev
mailing list