Ticket #59892: Portfile.patch

File Portfile.patch, 582 bytes (added by vallon (Justin), 5 years ago)

Patch for Portfile to --disable-xcode-checks on Catalina

  • lang/mozjs60/Portfile

    diff --git a/lang/mozjs60/Portfile b/lang/mozjs60/Portfile
    index 9f1fa79bcd0..0b82021be47 100644
    a b if { ${os.platform} eq "darwin" && ${os.major} < 13 } { 
    6868    configure.args-append   --disable-xcode-checks
    6969}
    7070
     71if { ${os.platform} eq "darwin" && ${os.major} >= 19 } {
     72    # Catalina does not have pkg receipts for xcode
     73    configure.args-append --disable-xcode-checks
     74}
     75
    7176build.env-append    SHELL=/bin/bash
    7277build.dir           ${worksrcpath}/js/src/obj
    7378destroot.dir        ${worksrcpath}/js/src/obj