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/editors
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/MacVim/Portfile

    r113545 r114325  
    4444
    4545pre-fetch {
    46     if {${os.platform} == "darwin" && ${os.major} < 10} {
     46    if {${os.platform} eq "darwin" && ${os.major} < 10} {
    4747        ui_error "${name} only runs on Mac OS X 10.6 or greater."
    4848        return -code error "incompatible Mac OS X version"
  • trunk/dports/editors/textmate2/Portfile

    r112904 r114325  
    6565                        port:capnproto
    6666
    67 if {${os.platform} != "darwin" || ${os.major} < 11} {
     67if {${os.platform} ne "darwin" || ${os.major} < 11} {
    6868    depends_fetch
    6969    depends_build
  • trunk/dports/editors/vim-app/Portfile

    r113545 r114325  
    116116
    117117pre-fetch {
    118     if {${os.platform} == "darwin" && ${os.major} >= 10} {
     118    if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    119119        ui_error "${name} does not run on Mac OS X 10.6 or greater. Please use MacVim instead."
    120120        return -code error "incompatible Mac OS X version"
  • trunk/dports/editors/xemacs/Portfile

    r102865 r114325  
    9595configure.cflags-append -std=gnu89
    9696
    97 if {${os.major} >= 11 && ${os.platform} == "darwin"} {
     97if {${os.major} >= 11 && ${os.platform} eq "darwin"} {
    9898    configure.ldflags-append -Wl,-no_pie
    9999}
Note: See TracChangeset for help on using the changeset viewer.