[82957] branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

cal at macports.org cal at macports.org
Mon Aug 22 11:03:30 PDT 2011


Revision: 82957
          http://trac.macports.org/changeset/82957
Author:   cal at macports.org
Date:     2011-08-22 11:03:30 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
rev-upgrade: Run automatically after upgrade, unless --no-rev-upgrade is
specified. Be less noisy about non-problems, since it's being run
automatically now...

Modified Paths:
--------------
    branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

Modified: branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl	2011-08-22 17:25:19 UTC (rev 82956)
+++ branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl	2011-08-22 18:03:30 UTC (rev 82957)
@@ -3105,6 +3105,11 @@
     if {!$orig_nodeps} {
         unset -nocomplain macports::global_options(ports_nodeps)
     }
+
+    array set options $optionslist
+    if {$status == 0 && ![global_option_isset ports_revupgrade] && ![info exists options(ports_upgrade_no-rev-upgrade)]} {
+        set status [macports::revupgrade]
+    }
     return $status
 }
 
@@ -3888,8 +3893,8 @@
                             ui_debug "Marking [$b path] as broken"
                             lappend broken_files [$b path]
                         } else {
-                            ui_warn "Missing architecture [machista::get_arch_name [$architecture cget -mat_arch]] in file outside prefix referenced from [$b path]"
-                            # ui_warn "   How did you get that compiled anyway?"
+                            ui_debug "Missing architecture [machista::get_arch_name [$architecture cget -mat_arch]] in file outside prefix referenced from [$b path]"
+                            # ui_debug "   How did you get that compiled anyway?"
                         }
                     }
                     set loadcommand [$loadcommand cget -next]
@@ -4045,13 +4050,13 @@
 
     set executablepath_idx [string first "@executable_path" $corrected_path]
     if {$executablepath_idx != -1} {
-        ui_warn "Ignoring loadcommand containing @exectuable_path in $fname"
+        ui_debug "Ignoring loadcommand containing @exectuable_path in $fname"
         error "@exectuable_path in loadcommand"
     }
 
     set rpath_idx [string first "@rpath" $corrected_path]
     if {$rpath_idx != -1} {
-        ui_warn "Ignoring loadcommand containing @rpath in $fname"
+        ui_debug "Ignoring loadcommand containing @rpath in $fname"
         error "@rpath in loadcommand"
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/e967874b/attachment.html>


More information about the macports-changes mailing list