[64373] trunk/base/src/port1.0/portinstall.tcl
jmr at macports.org
jmr at macports.org
Wed Mar 3 20:56:42 PST 2010
Revision: 64373
http://trac.macports.org/changeset/64373
Author: jmr at macports.org
Date: 2010-03-03 20:56:42 -0800 (Wed, 03 Mar 2010)
Log Message:
-----------
store archs in flat registry too
Modified Paths:
--------------
trunk/base/src/port1.0/portinstall.tcl
Modified: trunk/base/src/port1.0/portinstall.tcl
===================================================================
--- trunk/base/src/port1.0/portinstall.tcl 2010-03-04 04:53:54 UTC (rev 64372)
+++ trunk/base/src/port1.0/portinstall.tcl 2010-03-04 04:56:42 UTC (rev 64373)
@@ -222,6 +222,16 @@
registry_prop_store $regref categories $categories
+ if {$supported_archs == "noarch"} {
+ registry_prop_store $regref archs noarch
+ } elseif {[variant_exists universal] && [variant_isset universal]} {
+ registry_prop_store $regref archs [lsort -ascii ${configure.universal_archs}]
+ } elseif {${configure.build_arch} != ""} {
+ registry_prop_store $regref archs ${configure.build_arch}
+ } else {
+ registry_prop_store $regref archs ${os.arch}
+ }
+
if {[info exists description]} {
registry_prop_store $regref description [string map {\n \\n} ${description}]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100303/61fa9af1/attachment.html>
More information about the macports-changes
mailing list