[64361] trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl
ryandesign at macports.org
ryandesign at macports.org
Wed Mar 3 15:33:59 PST 2010
Revision: 64361
http://trac.macports.org/changeset/64361
Author: ryandesign at macports.org
Date: 2010-03-03 15:33:56 -0800 (Wed, 03 Mar 2010)
Log Message:
-----------
archcheck-1.0.tcl: fix error message when architectures don't match AND port already outputs some unrelated warning; see #23922
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl 2010-03-03 22:54:07 UTC (rev 64360)
+++ trunk/dports/_resources/port1.0/group/archcheck-1.0.tcl 2010-03-03 23:33:56 UTC (rev 64361)
@@ -73,7 +73,7 @@
foreach requested_arch ${requested_archs} {
if {-1 == [string first " ${requested_arch} " " ${file_archs} "]} {
- set dependency [strsed [exec ${prefix}/bin/port provides ${file}] {s/.*: //}]
+ set dependency [strsed [exec ${prefix}/bin/port provides ${file} 2>/dev/null] {s/.*: //}]
ui_error "You cannot install ${name} for the architecture(s) ${requested_archs} because"
ui_error "its dependency ${dependency} only contains the architecture(s) ${file_archs}."
# Dependency is not universal?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100303/5fd982dc/attachment.html>
More information about the macports-changes
mailing list