Ignore:
Timestamp:
Apr 10, 2013, 12:25:12 PM (6 years ago)
Author:
michaelld@…
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

    r104547 r105100  
    192192            ui_info "$UI_PREFIX [format [msgcat::mc "Configuring %1\$s for architecture %2\$s"] $name ${arch}]"
    193193
    194             copy ${worksrcpath} ${worksrcpath}-${arch}
     194            if {![file exists ${worksrcpath}-${arch}]} {
     195                copy ${worksrcpath} ${worksrcpath}-${arch}
     196            }
    195197
    196198            set archf [muniversal_get_arch_flag ${arch}]
Note: See TracChangeset for help on using the changeset viewer.