[62194] trunk/base/src/port1.0/portutil.tcl
jmr at macports.org
jmr at macports.org
Wed Dec 30 21:26:38 PST 2009
Revision: 62194
http://trac.macports.org/changeset/62194
Author: jmr at macports.org
Date: 2009-12-30 21:26:35 -0800 (Wed, 30 Dec 2009)
Log Message:
-----------
check if any dependencies of the given target need the statefile in check_variants (#22847)
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-12-30 22:54:31 UTC (rev 62193)
+++ trunk/base/src/port1.0/portutil.tcl 2009-12-31 05:26:35 UTC (rev 62194)
@@ -1803,6 +1803,9 @@
# Assume we do not need the statefile
set statereq 0
set ditems [dlist_search $targets provides $target]
+ if {[llength $ditems] > 0} {
+ set ditems [dlist_append_dependents $targets [lindex $ditems 0] [list]]
+ }
foreach d $ditems {
if {[ditem_key $d state] != "no"} {
# At least one matching target requires the state file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091230/4ccea272/attachment.html>
More information about the macports-changes
mailing list