[64138] contrib/port_cutleaves/port_cutleaves

perry at macports.org perry at macports.org
Mon Feb 22 23:50:07 PST 2010


Revision: 64138
          http://trac.macports.org/changeset/64138
Author:   perry at macports.org
Date:     2010-02-22 23:50:05 -0800 (Mon, 22 Feb 2010)
Log Message:
-----------
registry::list_dependents now takes 3 additional parameters.

Modified Paths:
--------------
    contrib/port_cutleaves/port_cutleaves

Modified: contrib/port_cutleaves/port_cutleaves
===================================================================
--- contrib/port_cutleaves/port_cutleaves	2010-02-23 05:54:00 UTC (rev 64137)
+++ contrib/port_cutleaves/port_cutleaves	2010-02-23 07:50:05 UTC (rev 64138)
@@ -195,7 +195,7 @@
 
     set leaves {}
     foreach port $installed {
-        if {[llength [registry::list_dependents [name $port]]] < 1
+        if {[llength [registry::list_dependents [name $port] [version $port] [revision $port] [variants $port]]] < 1
             && ![should_be_excluded $port $exclusions]
             && (!$option(b) || ![info exists build_deps([name $port])])} {
             lappend leaves $port
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100222/d25e8411/attachment.html>


More information about the macports-changes mailing list