Ticket #61435: use_xcode-fix.diff

File use_xcode-fix.diff, 782 bytes (added by jmroot (Joshua Root), 4 years ago)
  • src/port1.0/portmain.tcl

    diff --git a/src/port1.0/portmain.tcl b/src/port1.0/portmain.tcl
    index 80d27943..df41f183 100644
    a b set egid [getegid] 
    164164default worksymlink {[file normalize [file join $portpath work]]}
    165165default distpath {[file normalize [file join $portdbpath distfiles ${dist_subdir}]]}
    166166
    167 default use_xcode {[expr {[option build.type] eq "xcode" || ![file exists /usr/lib/libxcselect.dylib] || ![file executable /Library/Developer/CommandLineTools/usr/bin/make]}]}
     167default use_xcode {[expr {[option build.type] eq "xcode" || !([file exists /usr/lib/libxcselect.dylib] || [option os.major] >= 20) || ![file executable /Library/Developer/CommandLineTools/usr/bin/make]}]}
    168168
    169169proc portmain::main {args} {
    170170    return 0