[107817] trunk/dports/x11

ryandesign at macports.org ryandesign at macports.org
Sat Jul 6 00:22:35 PDT 2013


Revision: 107817
          https://trac.macports.org/changeset/107817
Author:   ryandesign at macports.org
Date:     2013-07-06 00:22:35 -0700 (Sat, 06 Jul 2013)
Log Message:
-----------
wine, wine-devel, wine-crossover: use eq for string comparison

Modified Paths:
--------------
    trunk/dports/x11/wine/Portfile
    trunk/dports/x11/wine-crossover/Portfile
    trunk/dports/x11/wine-devel/Portfile

Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile	2013-07-06 07:06:51 UTC (rev 107816)
+++ trunk/dports/x11/wine/Portfile	2013-07-06 07:22:35 UTC (rev 107817)
@@ -149,7 +149,7 @@
 compiler.whitelist gcc-4.2 apple-gcc-4.2
 
 # TODO: This should be done by base
-if {${configure.compiler} == "apple-gcc-4.2"} {
+if {${configure.compiler} eq "apple-gcc-4.2"} {
     depends_build-append port:apple-gcc42
     depends_skip_archcheck-append apple-gcc42
 }
@@ -169,12 +169,12 @@
 }
 
 pre-fetch {
-    if {"big" == ${os.endian}} {
+    if {${os.endian} eq "big"} {
         ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor."
         return -code error "incompatible processor"
     }
 
-    if {${os.platform} == "darwin" && ${os.major} < 9} {
+    if {${os.platform} eq "darwin" && ${os.major} < 9} {
         ui_error "${name} ${version} requires OS X 10.5 or greater."
         return -code error "incompatible OS X version"
     }

Modified: trunk/dports/x11/wine-crossover/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover/Portfile	2013-07-06 07:06:51 UTC (rev 107816)
+++ trunk/dports/x11/wine-crossover/Portfile	2013-07-06 07:22:35 UTC (rev 107817)
@@ -128,7 +128,7 @@
 compiler.whitelist gcc-4.2 apple-gcc-4.2
 
 # TODO: This should be done by base
-if {${configure.compiler} == "apple-gcc-4.2"} {
+if {${configure.compiler} eq "apple-gcc-4.2"} {
     depends_build-append port:apple-gcc42
     depends_skip_archcheck-append apple-gcc42
 }
@@ -148,12 +148,12 @@
 }
 
 pre-fetch {
-    if {"big" == ${os.endian}} {
+    if {${os.endian} eq "big"} {
         ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor."
         return -code error "incompatible processor"
     }
 
-    if {${os.platform} == "darwin" && ${os.major} < 9} {
+    if {${os.platform} eq "darwin" && ${os.major} < 9} {
         ui_error "${name} ${version} requires OS X 10.5 or greater."
         return -code error "incompatible OS X version"
     }

Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile	2013-07-06 07:06:51 UTC (rev 107816)
+++ trunk/dports/x11/wine-devel/Portfile	2013-07-06 07:22:35 UTC (rev 107817)
@@ -153,7 +153,7 @@
 compiler.blacklist-append   {clang < 425} macports-clang-2.9 macports-clang-3.0
 
 # TODO: This should be done by base
-if {${configure.compiler} == "apple-gcc-4.2"} {
+if {${configure.compiler} eq "apple-gcc-4.2"} {
     depends_build-append port:apple-gcc42
     depends_skip_archcheck-append apple-gcc42
 }
@@ -173,12 +173,12 @@
 }
 
 pre-fetch {
-    if {"big" == ${os.endian}} {
+    if {${os.endian} eq "big"} {
         ui_error "${name} can only be used on an Intel Mac or other computer with a little-endian processor."
         return -code error "incompatible processor"
     }
 
-    if {${os.platform} == "darwin" && ${os.major} < 9} {
+    if {${os.platform} eq "darwin" && ${os.major} < 9} {
         ui_error "${name} ${version} requires OS X 10.5 or greater."
         return -code error "incompatible OS X version"
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130706/67656706/attachment.html>


More information about the macports-changes mailing list