[105100] trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

michaelld at macports.org michaelld at macports.org
Wed Apr 10 05:25:13 PDT 2013


Revision: 105100
          https://trac.macports.org/changeset/105100
Author:   michaelld at macports.org
Date:     2013-04-10 05:25:12 -0700 (Wed, 10 Apr 2013)
Log Message:
-----------
muniversal: At the start of configure, copy the worksrcpath to the arch-specific version only if it has not already been copied.  This change fixes an issue where "configure" fails and then is tried again and again, failing each time.  After the 2nd failure, the copy will fail and the only resolution is to clean the port and try again.

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2013-04-10 11:19:52 UTC (rev 105099)
+++ trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2013-04-10 12:25:12 UTC (rev 105100)
@@ -191,7 +191,9 @@
         foreach arch ${universal_archs_to_use} {
             ui_info "$UI_PREFIX [format [msgcat::mc "Configuring %1\$s for architecture %2\$s"] $name ${arch}]"
 
-            copy ${worksrcpath} ${worksrcpath}-${arch}
+            if {![file exists ${worksrcpath}-${arch}]} {
+                copy ${worksrcpath} ${worksrcpath}-${arch}
+            }
 
             set archf [muniversal_get_arch_flag ${arch}]
             set archff [muniversal_get_arch_flag ${arch} "fortran"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130410/c6a3d3a5/attachment.html>


More information about the macports-changes mailing list