Ticket #52424: llvm-sierra.diff

File llvm-sierra.diff, 3.7 KB (added by ryandesign (Ryan Carsten Schmidt), 8 years ago)
  • llvm-3.3/Portfile

     
    379379            reinplace "s:EXEC_PATH:${sub_prefix}/bin/scan-view:" "${destroot}${prefix}/bin/scan-view-${suffix}"
    380380        }
    381381    }
    382 }
    383382
    384 if {${os.platform} eq "darwin" && ${os.major} > 15} {
    385     depends_lib
    386     depends_run
    387     archive_sites
    388     pre-fetch {
    389         ui_error "${name} is not supported on macOS Sierra or newer."
    390         return -code error {unsupported platform}
     383    if {${os.platform} eq "darwin" && ${os.major} > 15} {
     384        depends_build
     385        depends_lib
     386        depends_run
     387        archive_sites
     388        pre-fetch {
     389            ui_error "${subport} is not supported on macOS Sierra or newer."
     390            return -code error {unsupported platform}
     391        }
    391392    }
    392393}
    393394
  • llvm-3.4/Portfile

     
    426426        file delete -force ${destroot}${sub_prefix}/libexec/clang-format/CMakeLists.txt
    427427        file delete -force ${destroot}${sub_prefix}/libexec/clang-format/ClangFormat.cpp
    428428    }
    429 }
    430429
    431 if {${os.platform} eq "darwin" && ${os.major} > 15} {
    432     depends_lib
    433     depends_run
    434     archive_sites
    435     pre-fetch {
    436         ui_error "${name} is not supported on macOS Sierra or newer."
    437         return -code error {unsupported platform}
     430    if {${os.platform} eq "darwin" && ${os.major} > 15} {
     431        depends_build
     432        depends_lib
     433        depends_run
     434        archive_sites
     435        pre-fetch {
     436            ui_error "${subport} is not supported on macOS Sierra or newer."
     437            return -code error {unsupported platform}
     438        }
    438439    }
    439440}
    440441
  • llvm-3.5/Portfile

     
    424424        file delete -force ${destroot}${sub_prefix}/libexec/clang-format/CMakeLists.txt
    425425        file delete -force ${destroot}${sub_prefix}/libexec/clang-format/ClangFormat.cpp
    426426    }
    427 }
    428427
    429 if {${os.platform} eq "darwin" && ${os.major} > 15} {
    430     depends_lib
    431     depends_run
    432     archive_sites
    433     pre-fetch {
    434         ui_error "${name} is not supported on macOS Sierra or newer."
    435         return -code error {unsupported platform}
     428    if {${os.platform} eq "darwin" && ${os.major} > 15} {
     429        depends_build
     430        depends_lib
     431        depends_run
     432        archive_sites
     433        pre-fetch {
     434            ui_error "${subport} is not supported on macOS Sierra or newer."
     435            return -code error {unsupported platform}
     436        }
    436437    }
    437438}
    438439
  • llvm-3.6/Portfile

     
    406406        file delete -force ${destroot}${sub_prefix}/libexec/clang-format/CMakeLists.txt
    407407        file delete -force ${destroot}${sub_prefix}/libexec/clang-format/ClangFormat.cpp
    408408    }
    409 }
    410409
    411 if {${os.platform} eq "darwin" && ${os.major} > 15} {
    412     depends_lib
    413     depends_run
    414     archive_sites
    415     pre-fetch {
    416         ui_error "${name} is not supported on macOS Sierra or newer."
    417         return -code error {unsupported platform}
     410    if {${os.platform} eq "darwin" && ${os.major} > 15} {
     411        depends_build
     412        depends_lib
     413        depends_run
     414        archive_sites
     415        pre-fetch {
     416            ui_error "${subport} is not supported on macOS Sierra or newer."
     417            return -code error {unsupported platform}
     418        }
    418419    }
    419420}
    420421