[100117] trunk/dports/_resources/port1.0/group/ compiler_blacklist_versions-1.0.tcl
ryandesign at macports.org
ryandesign at macports.org
Wed Nov 28 20:36:30 PST 2012
Revision: 100117
https://trac.macports.org/changeset/100117
Author: ryandesign at macports.org
Date: 2012-11-28 20:36:30 -0800 (Wed, 28 Nov 2012)
Log Message:
-----------
compiler_blacklist_versions-1.0.tcl: adjust debug output
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl 2012-11-29 04:30:31 UTC (rev 100116)
+++ trunk/dports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl 2012-11-29 04:36:30 UTC (rev 100117)
@@ -69,10 +69,14 @@
set comparisons [lrange ${blacklist} 1 end]
set compiler_version [compiler_blacklist_versions._get_compiler_version ${compiler}]
if {[compiler_blacklist_versions._matches_all_versions ${compiler} ${comparisons}]} {
- ui_debug "${compiler} ${compiler_version} blacklisted because matches {${blacklist}}"
+ if {[string equal ${compiler_version} ""]} {
+ ui_debug "compiler ${compiler} blacklisted because not installed"
+ } else {
+ ui_debug "compiler ${compiler} ${compiler_version} blacklisted because matches {${blacklist}}"
+ }
compiler.blacklist-append ${compiler}
} else {
- ui_debug "${compiler} ${compiler_version} not blacklisted because does not match {${blacklist}}"
+ ui_debug "compiler ${compiler} ${compiler_version} not blacklisted because does not match {${blacklist}}"
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121128/8142bfb5/attachment.html>
More information about the macports-changes
mailing list