[124176] trunk/dports/_resources/port1.0/group/qt4-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Wed Aug 20 00:57:31 PDT 2014


Revision: 124176
          https://trac.macports.org/changeset/124176
Author:   ryandesign at macports.org
Date:     2014-08-20 00:57:31 -0700 (Wed, 20 Aug 2014)
Log Message:
-----------
qt4-1.0.tcl: use eq and ne for string comparisons; update copyright years

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

Modified: trunk/dports/_resources/port1.0/group/qt4-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/qt4-1.0.tcl	2014-08-20 07:55:28 UTC (rev 124175)
+++ trunk/dports/_resources/port1.0/group/qt4-1.0.tcl	2014-08-20 07:57:31 UTC (rev 124176)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-# Copyright (c) 2010 The MacPorts Project
+# Copyright (c) 2010-2014 The MacPorts Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -158,7 +158,7 @@
 # allow for depending on either qt4-mac and qt4-mac-devel, simultaneously
 
 if {![info exists building_qt4]} {
-    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
@@ -186,7 +186,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 {
@@ -205,7 +205,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)
     }
 } else {
@@ -233,7 +233,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)
     }
 } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140820/8c2025b9/attachment.html>


More information about the macports-changes mailing list