[138461] trunk/base/src/package1.0/portarchivefetch.tcl

jmr at macports.org jmr at macports.org
Thu Jul 9 06:40:04 PDT 2015


Revision: 138461
          https://trac.macports.org/changeset/138461
Author:   jmr at macports.org
Date:     2015-07-09 06:40:04 -0700 (Thu, 09 Jul 2015)
Log Message:
-----------
make archivefetch fail when an archive was found to exist but failed to download, because dependencies are not calculated correctly for a from-source build in that situation

Modified Paths:
--------------
    trunk/base/src/package1.0/portarchivefetch.tcl

Modified: trunk/base/src/package1.0/portarchivefetch.tcl
===================================================================
--- trunk/base/src/package1.0/portarchivefetch.tcl	2015-07-09 13:37:39 UTC (rev 138460)
+++ trunk/base/src/package1.0/portarchivefetch.tcl	2015-07-09 13:40:04 UTC (rev 138461)
@@ -294,7 +294,7 @@
         }
         return 0
     }
-    if {[info exists ports_binary_only] && $ports_binary_only eq "yes"} {
+    if {([info exists ports_binary_only] && $ports_binary_only eq "yes") || [_archive_available]} {
         if {[info exists lastError] && $lastError ne ""} {
             error [msgcat::mc "version @[option version]_[option revision][option portvariants]: %s" $lastError]
         } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150709/57feb83d/attachment.html>


More information about the macports-changes mailing list