Ignore:
Timestamp:
Dec 5, 2013, 9:20:31 AM (6 years ago)
Author:
ryandesign@…
Message:

use eq and ne instead of == and != when comparing ${os.platform} and ${os.subplatform}

Location:
trunk/dports/databases
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/cassandra/Portfile

    r105107 r114325  
    5050set dbdir           ${prefix}/var/db/cassandra
    5151set logdir          ${prefix}/var/log/cassandra
    52 if {"darwin" == ${os.platform} && ${os.major} > 8} {
     52if {${os.platform} eq "darwin" && ${os.major} > 8} {
    5353    set cassandrauser       _cassandra
    5454} else {
  • trunk/dports/databases/db47/Portfile

    r98532 r114325  
    9494if {[variant_isset no_java]} {
    9595    default_variants -java
    96 } elseif {${os.subplatform} == "macosx" && ${os.major} < 11} {
     96} elseif {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    9797    default_variants +java
    9898}
  • trunk/dports/databases/db48/Portfile

    r105617 r114325  
    6464if {[variant_isset no_java]} {
    6565    default_variants -java
    66 } elseif {${os.subplatform} == "macosx" && ${os.major} < 11} {
     66} elseif {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    6767    default_variants +java
    6868}
  • trunk/dports/databases/db51/Portfile

    r111789 r114325  
    7878if {[variant_isset no_java]} {
    7979    default_variants -java
    80 } elseif {${os.subplatform} == "macosx" && ${os.major} < 11} {
     80} elseif {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    8181    default_variants +java
    8282}
  • trunk/dports/databases/db52/Portfile

    r104996 r114325  
    7878if {[variant_isset no_java]} {
    7979    default_variants -java
    80 } elseif {${os.subplatform} == "macosx" && ${os.major} < 11} {
     80} elseif {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    8181    default_variants +java
    8282}
  • trunk/dports/databases/db53/Portfile

    r104135 r114325  
    7575}
    7676
    77 if {${os.subplatform} == "macosx" && ${os.major} < 11} {
     77if {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    7878    default_variants +java
    7979}
  • trunk/dports/databases/tokyocabinet/Portfile

    r97092 r114325  
    4848
    4949# broken on snow leopard, ticket #25513
    50 if {${os.major} < 10 || ${os.platform} != "darwin"} {
     50if {${os.major} < 10 || ${os.platform} ne "darwin"} {
    5151variant debug conflicts devel profile fastest description {build for debugging} {
    5252    configure.args-append   --enable-debug
Note: See TracChangeset for help on using the changeset viewer.