Ticket #52537: patch-fix-SL-Xcode326.diff
File patch-fix-SL-Xcode326.diff, 1.2 KB (added by ken-cunningham-webuse, 8 years ago) |
---|
-
hatari/Portfile
old new 48 48 # default to install macOS GUI application, and then adjust for OS variations 49 49 platform darwin { 50 50 if { ${os.major} <= 9 } { 51 # 10.4 and 10.5 cannot build the macOS GUI at present51 # 10.4 and 10.5 cannot build the macOS GUI 52 52 default_variants +commandlineapp 53 53 } 54 55 if { ${os.major} >= 10 } { 54 55 # Snow Leopard can build the MacOSX GUI with Xcode 4.2 56 if { ${os.major} eq 10 } { 57 if { ${xcodeversion} eq "4.2" } { 58 # can build GUI 59 # *gcc* does not build the macOS GUI 60 compiler.blacklist *gcc* 61 } else { 62 # cannot build gui 63 default_variants +commandlineapp 64 ui_msg "Buiding command-line version of hatari. Could build GUI version if you installed and selected Xcode 4.2" 65 } 66 } 67 68 if { ${os.major} >= 11 } { 56 69 # *gcc* does not appear to build the macOS GUI, so blacklist it on 10.6+ 57 70 compiler.blacklist *gcc* 58 71 }