Changeset 114328 for trunk/dports/cross


Ignore:
Timestamp:
Dec 5, 2013, 10:21:52 AM (6 years ago)
Author:
ryandesign@…
Message:

use eq and ne instead of == and != when comparing ${os.arch}, ${configure.build_arch}, ${build_arch}, and some port-specific variables for referring to architectures

Location:
trunk/dports/cross
Files:
15 edited

Legend:

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

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

    r114325 r114328  
    100100configure.objc_archflags
    101101configure.ld_archflags
    102 if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     102if {${os.platform} eq "darwin" && (${build_arch} eq "x86_64" || ${build_arch} eq "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-eabi-gdb/Portfile

    r110370 r114328  
    3030compiler.blacklist *clang*
    3131
    32 if {${configure.build_arch} == "ppc" || ${configure.build_arch} == "ppc64"} {
     32if {${configure.build_arch} eq "ppc" || ${configure.build_arch} eq "ppc64"} {
    3333    notes "${name} does not support building on ${configure.build_arch}."
    3434    pre-fetch {
  • trunk/dports/cross/arm-none-linux-gnueabi-binutils/Portfile

    r114325 r114328  
    4141                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' --with-sysroots \
    4242                        --disable-werror
    43 if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     43if {${os.platform} eq "darwin" && (${build_arch} eq "x86_64" || ${build_arch} eq "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

    r114325 r114328  
    8383configure.objc_archflags
    8484configure.ld_archflags
    85 if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     85if {${os.platform} eq "darwin" && (${build_arch} eq "x86_64" || ${build_arch} eq "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

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

    r114325 r114328  
    7272                --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${gnu_version}/ \
    7373                --enable-sjlj-exceptions
    74 if {$build_arch != ""} {
     74if {${build_arch} ne ""} {
    7575    configure.cc_archflags
    7676    configure.cxx_archflags
  • trunk/dports/cross/m68k-elf-gcc/Portfile

    r114325 r114328  
    9393configure.objc_archflags
    9494configure.ld_archflags
    95 if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     95if {${os.platform} eq "darwin" && (${build_arch} eq "x86_64" || ${build_arch} eq "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/mips-elf-binutils/Portfile

    r95197 r114328  
    4242
    4343platform darwin {
    44         if {$build_arch == "i386"} {
     44        if {${build_arch} eq "i386"} {
    4545                configure.args-append --build=i686-apple-${os.platform}${os.version} \
    4646                                                          --host=i686-apple-${os.platform}${os.version}
  • trunk/dports/cross/mips-elf-gcc/Portfile

    r110942 r114328  
    9393configure.ld_archflags
    9494platform darwin {
    95         if {$build_arch == "i386"} {
     95        if {${build_arch} eq "i386"} {
    9696                configure.args-append --build=i686-apple-${os.platform}${os.version} \
    9797                                                          --host=i686-apple-${os.platform}${os.version}
  • trunk/dports/cross/mipsel-linux-binutils/Portfile

    r94994 r114328  
    4242
    4343platform darwin {
    44         if {$build_arch == "i386"} {
     44        if {${build_arch} eq "i386"} {
    4545                configure.args-append --build=i686-apple-darwin${os.major} \
    4646                                                          --host=i686-apple-darwin${os.major}
  • trunk/dports/cross/mipsel-linux-gcc34/Portfile

    r95194 r114328  
    5757
    5858platform darwin {
    59         if {$build_arch == "i386"} {
     59        if {${build_arch} eq "i386"} {
    6060                configure.args-append --build=i686-apple-darwin${os.major} \
    6161                                                          --host=i686-apple-darwin${os.major}
  • trunk/dports/cross/sh-rtems-binutils/Portfile

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

    r114325 r114328  
    103103                                --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/ \
    104104                                ${default-languages}
    105 if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     105if {${os.platform} eq "darwin" && (${build_arch} eq "x86_64" || ${build_arch} eq "ppc64")} {
    106106    configure.args-append --build=${build_arch}-apple-darwin${os.version} \
    107107                          --host=${build_arch}-apple-darwin${os.version}
  • trunk/dports/cross/sparc-rtems-gcc/Portfile

    r104266 r114328  
    106106configure.ld_archflags
    107107platform darwin {
    108     if {$build_arch == "x86_64" || $build_arch == "ppc64"} {
     108    if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
    109109        configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} \
    110110                              --host=${build_arch}-apple-${os.platform}${os.version}
Note: See TracChangeset for help on using the changeset viewer.