[105547] trunk/base/src/port1.0/portconfigure.tcl

jeremyhu at macports.org jeremyhu at macports.org
Wed Apr 24 11:19:51 PDT 2013


Revision: 105547
          https://trac.macports.org/changeset/105547
Author:   jeremyhu at macports.org
Date:     2013-04-24 11:19:51 -0700 (Wed, 24 Apr 2013)
Log Message:
-----------
Point users to config.log on configure failure if it exists

Modified Paths:
--------------
    trunk/base/src/port1.0/portconfigure.tcl

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2013-04-24 16:39:46 UTC (rev 105546)
+++ trunk/base/src/port1.0/portconfigure.tcl	2013-04-24 18:19:51 UTC (rev 105547)
@@ -750,6 +750,10 @@
 
         # Execute the command (with the new environment).
         if {[catch {command_exec configure} result]} {
+            global configure.dir
+            if {[file exists ${configure.dir}/config.log]} {
+                ui_error "[format [msgcat::mc "Failed to configure %s, consult %s/config.log"] [option subport] ${configure.dir}]"
+            }
             return -code error "[format [msgcat::mc "%s failure: %s"] configure $result]"
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130424/36fc6ef3/attachment.html>


More information about the macports-changes mailing list