[66420] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Mon Apr 12 09:49:01 PDT 2010


Revision: 66420
          http://trac.macports.org/changeset/66420
Author:   jmr at macports.org
Date:     2010-04-12 09:49:00 -0700 (Mon, 12 Apr 2010)
Log Message:
-----------
warn if universal_archs does not contain at least 2 archs

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2010-04-12 16:36:16 UTC (rev 66419)
+++ trunk/base/src/macports1.0/macports.tcl	2010-04-12 16:49:00 UTC (rev 66420)
@@ -770,6 +770,8 @@
         } else {
             set macports::universal_archs {i386 ppc}
         }
+    } elseif {[llength $macports::universal_archs] < 2} {
+        ui_warn "invalid universal_archs configured (should contain at least 2 archs)"
     }
     
     # Default arch to build for
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100412/0ea4a741/attachment.html>


More information about the macports-changes mailing list