[127785] trunk/dports/_resources/port1.0/group/qt5-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Mon Nov 3 21:16:56 PST 2014


Revision: 127785
          https://trac.macports.org/changeset/127785
Author:   ryandesign at macports.org
Date:     2014-11-03 21:16:56 -0800 (Mon, 03 Nov 2014)
Log Message:
-----------
qt5-1.0.tcl: use eq and ne for string comparisons

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/qt5-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/qt5-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/qt5-1.0.tcl	2014-11-04 02:41:59 UTC (rev 127784)
+++ trunk/dports/_resources/port1.0/group/qt5-1.0.tcl	2014-11-04 05:16:56 UTC (rev 127785)
@@ -193,7 +193,7 @@
 # allow for depending on either qt5-mac and qt5-mac-devel, simultaneously
 
 if {![info exists building_qt5]} {
-    if {${os.platform} == "darwin"} {
+    if {${os.platform} eq "darwin"} {
 
         # see if the framework install exists, and if so depend on it;
         # if not, depend on the library version
@@ -224,7 +224,7 @@
     # make sure the Qt binaries' directory is in the path, if it is
     # not the current prefix
 
-    if {${qt_dir} != ${prefix}} {
+    if {${qt_dir} ne ${prefix}} {
         configure.env-append PATH=${qt_dir}/bin:$env(PATH)
     }
 } else {
@@ -249,7 +249,7 @@
     # make sure the Qt binaries' directory is in the path, if it is
     # not the current prefix
 
-    if {${qt_dir} != ${prefix}} {
+    if {${qt_dir} ne ${prefix}} {
         build.env-append    PATH=${qt_dir}/bin:$env(PATH)
     }
 }
@@ -285,7 +285,7 @@
     # make sure the Qt binaries' directory is in the path, if it is
     # not the current prefix
 
-    if {${qt_dir} != ${prefix}} {
+    if {${qt_dir} ne ${prefix}} {
         destroot.env-append PATH=${qt_dir}/bin:$env(PATH)
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141103/dde10f2e/attachment.html>


More information about the macports-changes mailing list