[52548] trunk/base/src/port1.0/portutil.tcl
jmr at macports.org
jmr at macports.org
Thu Jun 18 12:38:10 PDT 2009
Revision: 52548
http://trac.macports.org/changeset/52548
Author: jmr at macports.org
Date: 2009-06-18 12:37:51 -0700 (Thu, 18 Jun 2009)
Log Message:
-----------
include the port name in variant evaluation error messages
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-06-18 19:18:44 UTC (rev 52547)
+++ trunk/base/src/port1.0/portutil.tcl 2009-06-18 19:37:51 UTC (rev 52548)
@@ -1698,7 +1698,7 @@
# test for conflicting variants
foreach v [ditem_key $ditem conflicts] {
if {[variant_isset $v]} {
- ui_error "Variant $name conflicts with $v"
+ ui_error "[option name]: Variant $name conflicts with $v"
return 1
}
}
@@ -1707,7 +1707,7 @@
if {[catch "variant-${name}" result]} {
global errorInfo
ui_debug "$errorInfo"
- ui_error "Error executing $name: $result"
+ ui_error "[option name]: Error executing $name: $result"
return 1
}
return 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090618/0ef2ec90/attachment.html>
More information about the macports-changes
mailing list