[69555] trunk/dports/aqua/qt4-mac/Portfile

michaelld at macports.org michaelld at macports.org
Fri Jul 9 18:51:00 PDT 2010


Revision: 69555
          http://trac.macports.org/changeset/69555
Author:   michaelld at macports.org
Date:     2010-07-09 18:50:58 -0700 (Fri, 09 Jul 2010)
Log Message:
-----------
Retrieve current selection of qt4_select such that the variable
"current_select is valid during stage "pre-deactivate".

Modified Paths:
--------------
    trunk/dports/aqua/qt4-mac/Portfile

Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac/Portfile	2010-07-10 01:31:10 UTC (rev 69554)
+++ trunk/dports/aqua/qt4-mac/Portfile	2010-07-10 01:50:58 UTC (rev 69555)
@@ -338,6 +338,7 @@
 
 pre-deactivate {
     # If this is qt4-* is selected, select 'none' & tell the user
+    set current_select [exec ${prefix}/bin/${select_port} -s]
     if { [exec ${prefix}/bin/${select_port} -s] == ${select_name} } {
         system "${prefix}/bin/${select_port} none"
         ui_msg "\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100709/8c5cd5d0/attachment.html>


More information about the macports-changes mailing list