Revision
70173
Author
jmr@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

Diff

Modified: trunk/base/src/macports1.0/macports.tcl (70172 => 70173)


--- 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