[107824] trunk/dports

ryandesign at macports.org ryandesign at macports.org
Sat Jul 6 01:50:49 PDT 2013


Revision: 107824
          https://trac.macports.org/changeset/107824
Author:   ryandesign at macports.org
Date:     2013-07-06 01:50:49 -0700 (Sat, 06 Jul 2013)
Log Message:
-----------
gts, libiconv, webdot, py-netifaces: use eq and ne for string comparisons

Modified Paths:
--------------
    trunk/dports/math/gts/Portfile
    trunk/dports/python/py-netifaces/Portfile
    trunk/dports/textproc/libiconv/Portfile
    trunk/dports/www/webdot/Portfile

Modified: trunk/dports/math/gts/Portfile
===================================================================
--- trunk/dports/math/gts/Portfile	2013-07-06 08:45:39 UTC (rev 107823)
+++ trunk/dports/math/gts/Portfile	2013-07-06 08:50:49 UTC (rev 107824)
@@ -34,7 +34,7 @@
 
 if {[variant_isset universal]} {
     # Find architectures which will not run on build platform.
-    if {${os.arch}=="i386"} {
+    if {${os.arch} eq "i386"} {
         if {${os.major} >= 10} {
             set cross_archs "ppc ppc64"
         } else {

Modified: trunk/dports/python/py-netifaces/Portfile
===================================================================
--- trunk/dports/python/py-netifaces/Portfile	2013-07-06 08:45:39 UTC (rev 107823)
+++ trunk/dports/python/py-netifaces/Portfile	2013-07-06 08:50:49 UTC (rev 107824)
@@ -24,7 +24,7 @@
 
 python.versions     25 26 27
 
-if {${name} != ${subport}} {
+if {${name} ne ${subport}} {
     depends_build-append port:py${python.version}-setuptools
 }
 

Modified: trunk/dports/textproc/libiconv/Portfile
===================================================================
--- trunk/dports/textproc/libiconv/Portfile	2013-07-06 08:45:39 UTC (rev 107823)
+++ trunk/dports/textproc/libiconv/Portfile	2013-07-06 08:50:49 UTC (rev 107824)
@@ -80,7 +80,7 @@
 
 if { [variant_isset universal] } {
     # When cross-compiling, can guess wrong endian value.
-    if { ${os.arch}=="i386" } {
+    if {${os.arch} eq "i386"} {
         if { ${os.major} >= 10 } {
             lappend merger_configure_env(ppc) cl_cv_sys_endian='big endian'
             set cross_archs "ppc ppc64"
@@ -100,7 +100,7 @@
     }
 
     # See https://trac.macports.org/ticket/18440
-    if { ${os.major}=="8" } {
+    if {${os.major} == 8} {
             foreach arch "ppc64 x86_64" {
                 lappend merger_configure_env(${arch}) \
                     am_cv_func_iconv='yes' \

Modified: trunk/dports/www/webdot/Portfile
===================================================================
--- trunk/dports/www/webdot/Portfile	2013-07-06 08:45:39 UTC (rev 107823)
+++ trunk/dports/www/webdot/Portfile	2013-07-06 08:50:49 UTC (rev 107824)
@@ -32,7 +32,7 @@
 require_active_variants path:bin/dot:graphviz tcl
 
 set www_user www
-if {${os.platform} == "darwin" && ${os.major} >= 9} {
+if {${os.platform} eq "darwin" && ${os.major} >= 9} {
     set www_user _www
 }
 set www_group ${www_user}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130706/0810364e/attachment.html>


More information about the macports-changes mailing list