[67451] trunk/base/src/port/port.tcl

jmr at macports.org jmr at macports.org
Mon May 10 06:12:14 PDT 2010


Revision: 67451
          http://trac.macports.org/changeset/67451
Author:   jmr at macports.org
Date:     2010-05-10 06:12:12 -0700 (Mon, 10 May 2010)
Log Message:
-----------
fix rdeps --index

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2010-05-10 13:07:01 UTC (rev 67450)
+++ trunk/base/src/port/port.tcl	2010-05-10 13:12:12 UTC (rev 67451)
@@ -2674,7 +2674,11 @@
 
         set version $portinfo(version)
         set revision $portinfo(revision)
-        set variants $portinfo(canonical_active_variants)
+        if {[info exists portinfo(canonical_active_variants)]} {
+            set variants $portinfo(canonical_active_variants)
+        } else {
+            set variants {}
+        }
 
         if {$action == "deps"} {
             if {$ndeps == 0} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100510/914f4173/attachment.html>


More information about the macports-changes mailing list