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

cal at macports.org cal at macports.org
Mon Aug 22 10:03:47 PDT 2011


Revision: 82951
          http://trac.macports.org/changeset/82951
Author:   cal at macports.org
Date:     2011-08-22 10:03:44 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
rev-upgrade: Some ports (burn-app) install binaries that work, but have
an older compatibility version set. This makes rev-upgrade conform to
what man libtool says about the compatibility version.

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 15:29:20 UTC (rev 82950)
+++ branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl	2011-08-22 17:03:44 UTC (rev 82951)
@@ -3872,7 +3872,7 @@
                             continue;
                         }
 
-                        if {[$loadcommand cget -mlt_version] != [$libarchitecture cget -mat_version] && [$loadcommand cget -mlt_comp_version] != [$libarchitecture cget -mat_comp_version]} {
+                        if {[$loadcommand cget -mlt_version] != [$libarchitecture cget -mat_version] && [$loadcommand cget -mlt_comp_version] > [$libarchitecture cget -mat_comp_version]} {
                             ui_warn "Incompatible library version of file [$loadcommand cget -mlt_install_name]: Expected [$loadcommand cget -mlt_comp_version], but got [$libarchitecture cget -mat_comp_version]"
                             ui_debug "Marking [$b path] as broken"
                             lappend broken_files [$b path]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/8d3b72ce/attachment.html>


More information about the macports-changes mailing list