[33767] trunk/base/src/port1.0/portmain.tcl

afb at macports.org afb at macports.org
Mon Feb 4 13:41:00 PST 2008


Revision: 33767
          http://trac.macosforge.org/projects/macports/changeset/33767
Author:   afb at macports.org
Date:     2008-02-04 13:40:01 -0800 (Mon, 04 Feb 2008)

Log Message:
-----------
avoid universal_variant breaking other platforms

Modified Paths:
--------------
    trunk/base/src/port1.0/portmain.tcl

Modified: trunk/base/src/port1.0/portmain.tcl
===================================================================
--- trunk/base/src/port1.0/portmain.tcl	2008-02-04 21:18:20 UTC (rev 33766)
+++ trunk/base/src/port1.0/portmain.tcl	2008-02-04 21:40:01 UTC (rev 33767)
@@ -129,6 +129,12 @@
             variant_undef universal
         }
     }
+} else {
+    proc universal_variant {state} {
+        if {${state} != "no"} {
+            ui_error "+universal is only available on +macosx"
+        }
+    }
 }
 
 proc main {args} {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080204/57511306/attachment.html


More information about the macports-changes mailing list