[59181] trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl
blb at macports.org
blb at macports.org
Sun Oct 11 01:06:14 PDT 2009
Revision: 59181
http://trac.macports.org/changeset/59181
Author: blb at macports.org
Date: 2009-10-11 01:06:12 -0700 (Sun, 11 Oct 2009)
Log Message:
-----------
group/archcheck-1.0.tcl - reduce ppc7400 to ppc to simplify handling and allow them to coexist
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl 2009-10-11 07:54:02 UTC (rev 59180)
+++ trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl 2009-10-11 08:06:12 UTC (rev 59181)
@@ -56,10 +56,9 @@
set file [file join ${prefix} ${file}]
}
set file_archs [string trim [strsed [exec lipo -info ${file}] {s/.*://}]]
+ set file_archs [string map {ppc7400 ppc}] ${file_archs}
+
foreach requested_arch ${requested_archs} {
- if {9 <= ${os.major} && ${requested_arch} == "ppc"} {
- set requested_arch ppc7400
- }
if {-1 == [string first " ${requested_arch} " " ${file_archs} "]} {
ui_error "You cannot install ${name} for the architecture(s) ${requested_archs}"
ui_error "because ${file} only contains the architecture(s) ${file_archs}."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091011/3f8673a4/attachment.html>
More information about the macports-changes
mailing list