Changeset 114325 for trunk/dports/cross


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/cross
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/arm-elf-gcc/Portfile

    r110370 r114325  
    178178configure.objc_archflags
    179179configure.ld_archflags
    180 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     180if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    181181    configure.args-append --build=${build_arch}-apple-darwin${os.major}
    182182}
  • trunk/dports/cross/arm-elf-gcc3/Portfile

    r110370 r114325  
    100100configure.objc_archflags
    101101configure.ld_archflags
    102 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     102if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    103103    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} \
    104104                          --host=${build_arch}-apple-${os.platform}${os.version} \
  • trunk/dports/cross/arm-none-linux-gnueabi-binutils/Portfile

    r95189 r114325  
    4141                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' --with-sysroots \
    4242                        --disable-werror
    43 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     43if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    4444    configure.args-append --build=${build_arch}-apple-darwin${os.version} \
    4545                          --host=${build_arch}-apple-darwin${os.version}
  • trunk/dports/cross/arm-none-linux-gnueabi-gcc/Portfile

    r89280 r114325  
    8383configure.objc_archflags
    8484configure.ld_archflags
    85 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     85if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    8686    configure.args-append --build=${build_arch}-apple-darwin${os.version} \
    8787                          --host=${build_arch}-apple-darwin${os.version}
  • trunk/dports/cross/i386-mingw32-binutils/Portfile

    r110849 r114325  
    3333                    --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \
    3434                    --disable-werror
    35 if {${os.platform} == "darwin" && $build_arch != ""} {
     35if {${os.platform} eq "darwin" && $build_arch != ""} {
    3636    configure.args-append --build=${build_arch}-apple-darwin${os.major}
    3737}
  • trunk/dports/cross/i386-mingw32-gcc/Portfile

    r110370 r114325  
    7676    configure.cxx_archflags
    7777    configure.objc_archflags
    78     if {${os.platform} == "darwin"} {
     78    if {${os.platform} eq "darwin"} {
    7979        configure.args-append --build=${build_arch}-apple-darwin${os.major} \
    8080                              --host=${build_arch}-apple-darwin${os.major}
  • trunk/dports/cross/i960-rtems-binutils/Portfile

    r112296 r114325  
    135135# This target has been abandonned upstream.
    136136pre-fetch {
    137         if {${os.platform} == "darwin" && [vercmp 9.0 ${os.version}] < 0} {
     137        if {${os.platform} eq "darwin" && [vercmp 9.0 ${os.version}] < 0} {
    138138                ui_warn "i960-rtems-gcc does not build on darwin 9+ (Mac OS X 10.5+) and it has been abandonned upstream."
    139139        }
  • trunk/dports/cross/i960-rtems-gcc/Portfile

    r112297 r114325  
    202202# This target has been abandonned upstream.
    203203pre-fetch {
    204         if {${os.platform} == "darwin" && [vercmp 9.0 ${os.version}] < 0} {
     204        if {${os.platform} eq "darwin" && [vercmp 9.0 ${os.version}] < 0} {
    205205                error "This port does not build on darwin 9+ (Mac OS X 10.5+) and it has been abandonned upstream."
    206206        }
  • trunk/dports/cross/m68k-elf-gcc/Portfile

    r110370 r114325  
    9393configure.objc_archflags
    9494configure.ld_archflags
    95 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     95if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    9696    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} \
    9797                          --host=${build_arch}-apple-${os.platform}${os.version}
  • trunk/dports/cross/sh-rtems-binutils/Portfile

    r93052 r114325  
    5555                                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \
    5656                                        --disable-werror
    57 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     57if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    5858    configure.args-append --build=${build_arch}-apple-darwin${os.version}
    5959}
  • trunk/dports/cross/sh-rtems-gcc/Portfile

    r104510 r114325  
    103103                                --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/ \
    104104                                ${default-languages}
    105 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     105if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    106106    configure.args-append --build=${build_arch}-apple-darwin${os.version} \
    107107                          --host=${build_arch}-apple-darwin${os.version}
Note: See TracChangeset for help on using the changeset viewer.