[138684] branches/gsoc15-dependency/base/src/macports1.0/macports.tcl

ijackson at macports.org ijackson at macports.org
Wed Jul 15 21:28:29 PDT 2015


Revision: 138684
          https://trac.macports.org/changeset/138684
Author:   ijackson at macports.org
Date:     2015-07-15 21:28:29 -0700 (Wed, 15 Jul 2015)
Log Message:
-----------
Remove redundant check for libsolv option.
libsolv option is checked in port.tcl itself and then
only mportinstall is invoked, hence remove the redundant
check for libsolv in mportinstall.

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

Modified: branches/gsoc15-dependency/base/src/macports1.0/macports.tcl
===================================================================
--- branches/gsoc15-dependency/base/src/macports1.0/macports.tcl	2015-07-16 04:14:38 UTC (rev 138683)
+++ branches/gsoc15-dependency/base/src/macports1.0/macports.tcl	2015-07-16 04:28:29 UTC (rev 138684)
@@ -2020,14 +2020,7 @@
 # mportinstall
 # Execute when libsolv is used for installing packages.
 proc mportinstall {portlist target} {
-    ## Use libsolv Dependency Calculation if -l is passed
-    if {[info exists macports::global_options(ports_depengine)]} {
-        if {$macports::global_options(ports_depengine) eq "libsolv"} {
-            if {[macports::_target_needs_deps $target]} {
-                set dep_res [macports::libsolv::dep_calc $portlist]
-            }
-        }
-    }
+    set dep_res [macports::libsolv::dep_calc $portlist]
 }
 
 # mportexec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150715/686e9f35/attachment-0001.html>


More information about the macports-changes mailing list