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

jmr at macports.org jmr at macports.org
Tue Jun 9 11:33:31 PDT 2009


Revision: 52075
          http://trac.macports.org/changeset/52075
Author:   jmr at macports.org
Date:     2009-06-09 11:33:31 -0700 (Tue, 09 Jun 2009)
Log Message:
-----------
just warn about satisfied deps that aren't in the index, don't error out

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

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2009-06-09 18:27:36 UTC (rev 52074)
+++ trunk/base/src/macports1.0/macports.tcl	2009-06-09 18:33:31 UTC (rev 52075)
@@ -2053,8 +2053,12 @@
         if {[info exists portinfo(porturl)]} {
             set porturl $portinfo(porturl)
         } else {
-            ui_error "Dependency '$dep_portname' not found."
-            return 1
+            if {$skipSatisfied && [registry::entry_exists_for_name $dep_portname]} {
+                ui_warn "Dependency '$dep_portname' is installed but not present in the index"
+            } else {
+                ui_error "Dependency '$dep_portname' not found."
+                return 1
+            }
         }
 
         # Is that dependency satisfied or this port installed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090609/ca970f7e/attachment.html>


More information about the macports-changes mailing list