[138811] branches/gsoc15-dependency/base/src/macports1.0/macports_libsolv. tcl

ijackson at macports.org ijackson at macports.org
Mon Jul 20 11:44:35 PDT 2015


Revision: 138811
          https://trac.macports.org/changeset/138811
Author:   ijackson at macports.org
Date:     2015-07-20 11:44:35 -0700 (Mon, 20 Jul 2015)
Log Message:
-----------
Add port version information to $provides.

Modified Paths:
--------------
    branches/gsoc15-dependency/base/src/macports1.0/macports_libsolv.tcl

Modified: branches/gsoc15-dependency/base/src/macports1.0/macports_libsolv.tcl
===================================================================
--- branches/gsoc15-dependency/base/src/macports1.0/macports_libsolv.tcl	2015-07-20 18:39:10 UTC (rev 138810)
+++ branches/gsoc15-dependency/base/src/macports1.0/macports_libsolv.tcl	2015-07-20 18:44:35 UTC (rev 138811)
@@ -168,7 +168,8 @@
                             }
 
                             ## Set SOLVABLE_PROVIDES for the solv so that the package can be found during depcalc.
-                            $solvable add_deparray $solv::SOLVABLE_PROVIDES [$pool str2id $name 0]
+                            set provides [$pool rel2id [$solvable cget -nameid] [$solvable cget -evrid] $solv::REL_EQ 1]
+                            $solvable add_deparray $solv::SOLVABLE_PROVIDES $provides
                             
                             ## Set portinfo of each solv object. Map it to correct solvid.
                             set portindexinfo([$solvable cget -id]) $line
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150720/f991a661/attachment.html>


More information about the macports-changes mailing list