[58392] trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl

toby at macports.org toby at macports.org
Mon Sep 28 01:32:40 PDT 2009


Revision: 58392
          http://trac.macports.org/changeset/58392
Author:   toby at macports.org
Date:     2009-09-28 01:32:37 -0700 (Mon, 28 Sep 2009)
Log Message:
-----------
hack this massive abuse of the group code to work for ppc

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-09-28 07:53:51 UTC (rev 58391)
+++ trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl	2009-09-28 08:32:37 UTC (rev 58392)
@@ -57,6 +57,9 @@
         }
         set file_archs " [strsed [exec lipo -info ${file}] {s/.*://}] "
         foreach requested_arch ${requested_archs} {
+            if {${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}\nbecause ${file} does not contain the architecture ${requested_arch}.\nYou may want to rebuild the port that provides that file using the universal variant."
                 return -code error "incompatible architectures in dependencies"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090928/42ae8b9b/attachment.html>


More information about the macports-changes mailing list