Ticket #48369: patch-qt4-osx-1011.diff
File patch-qt4-osx-1011.diff, 1.4 KB (added by mdeaudelin (Mathieu Deaudelin-Lemay), 9 years ago) |
---|
-
Portfile
old new 46 46 port:libmng \ 47 47 port:jpeg 48 48 49 # Reference platforms for Qt 4.8 are OS X 10.6 and 10.7. 50 if {${os.platform} eq "darwin" && ${os.major} > 14} { 51 pre-fetch { 52 ui_warn "OS X versions above 10.10 (Yosemite) are not supported platforms for Qt 4.8." 53 ui_warn "Will build using OS X 10.10 as deployment target and SDK." 54 } 55 56 # Qt 4.8 fails to build on OS X 10.11 as it uses deprecated API (ColorSync) 57 # which has been removed from the 10.11 SDK headers. 58 macosx_deployment_target 10.10 59 } 60 49 61 # find a way to specify the OS MINOR version. For OSX 10.X, this 50 62 # value will be X. The type is this variable is integer, so we can 51 63 # use "==" and so forth for comparison. … … 237 249 patchfiles-append \ 238 250 patch-tools_macdeployqt_shared_shared.cpp.diff 239 251 240 # error out if trying to build on a new OSX version (> 10.10).241 242 platform darwin {243 if {${MINOR} > 10} {244 # This project needs to be updated to build with clang++ against libc++245 depends_lib246 depends_run247 pre-fetch {248 ui_error "$name does not currently build on OSX later than 10.10 'Yosemite'."249 error "unsupported platform"250 }251 }252 }253 254 252 ############################################### 255 253 256 254 # disable CCACHE for now (ticket #34856)