[66254] trunk/base/src/registry2.0/portuninstall.tcl
jmr at macports.org
jmr at macports.org
Wed Apr 7 20:14:57 PDT 2010
Revision: 66254
http://trac.macports.org/changeset/66254
Author: jmr at macports.org
Date: 2010-04-07 20:14:51 -0700 (Wed, 07 Apr 2010)
Log Message:
-----------
in uninstall --follow-dependencies, try the deps from the registry as well as those from the portfile
Modified Paths:
--------------
trunk/base/src/registry2.0/portuninstall.tcl
Modified: trunk/base/src/registry2.0/portuninstall.tcl
===================================================================
--- trunk/base/src/registry2.0/portuninstall.tcl 2010-04-08 02:57:08 UTC (rev 66253)
+++ trunk/base/src/registry2.0/portuninstall.tcl 2010-04-08 03:14:51 UTC (rev 66254)
@@ -224,6 +224,10 @@
}
}
}
+ # append those from the registry (could be different because of path deps)
+ foreach dep [$port dependencies] {
+ lappend all_dependencies [$dep name]
+ }
} else {
# grab the deps from the dep map
set depmaplist [registry::list_depends $portname $version $revision $variants]
@@ -258,6 +262,7 @@
}
}
array unset depportinfo
+ set all_dependencies [lsort -unique $all_dependencies]
}
if {[info exists options(ports_dryrun)] && [string is true -strict $options(ports_dryrun)]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100407/2f88597a/attachment.html>
More information about the macports-changes
mailing list