[70173] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Sat Jul 31 05:42:09 PDT 2010


Revision: 70173
          http://trac.macports.org/changeset/70173
Author:   jmr at macports.org
Date:     2010-07-31 05:42:05 -0700 (Sat, 31 Jul 2010)
Log Message:
-----------
only skip checks when port is already installed if target is activate or install

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2010-07-31 11:42:23 UTC (rev 70172)
+++ trunk/base/src/macports1.0/macports.tcl	2010-07-31 12:42:05 UTC (rev 70173)
@@ -1586,7 +1586,8 @@
     if {[macports::_target_needs_deps $target]} {
 
         # see if we actually need to build this port
-        if {![$workername eval registry_exists \$name \$version \$revision \$portvariants]} {
+        if {($target != "activate" && $target != "install") ||
+            ![$workername eval registry_exists \$name \$version \$revision \$portvariants]} {
             # possibly warn or error out depending on how old xcode is
             if {[$workername eval _check_xcode_version] != 0} {
                 return 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100731/0586479f/attachment.html>


More information about the macports-changes mailing list