[55825] trunk/base/src/port1.0/portutil.tcl
raimue at macports.org
raimue at macports.org
Wed Aug 19 18:09:53 PDT 2009
Revision: 55825
http://trac.macports.org/changeset/55825
Author: raimue at macports.org
Date: 2009-08-19 18:09:50 -0700 (Wed, 19 Aug 2009)
Log Message:
-----------
port1.0/portutil.tcl:
recursive_collect_deps would discard all collected dependencies once a port
cannot be found in the index
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2009-08-19 23:53:39 UTC (rev 55824)
+++ trunk/base/src/port1.0/portutil.tcl 2009-08-20 01:09:50 UTC (rev 55825)
@@ -1409,7 +1409,12 @@
set res [mport_lookup $portname]
if {[llength $res] < 2} \
{
- return {}
+ # Even if this port cannot be found in the index,
+ # it is still listed as dependency
+ if {[lsearch -exact $depsfound $portname] == -1} {
+ lappend depsfound $portname
+ }
+ return $depsfound
}
set depends {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090819/23fea2f6/attachment.html>
More information about the macports-changes
mailing list