Ticket #40852: Portfile.3.diff
File Portfile.3.diff, 2.7 KB (added by BSeppke (Benjamin Seppke), 11 years ago) |
---|
-
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/qt4-mac/Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id $2 # $Id: Portfile 111912 2013-10-05 22:01:13Z raimue@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 … … 171 171 172 172 patchfiles-append patch-src_plugins_bearer_corewlan_corewlan.pro.diff 173 173 174 # (15) fix the corewlan source to work under 10. 7174 # (15) fix the corewlan source to work under 10.9 too 175 175 176 176 patchfiles-append patch-src_plugins_bearer_corewlan_qcorewlanengine.mm.diff 177 177 … … 229 229 patchfiles-append patch-src_corelib_corelib.pro.diff 230 230 } 231 231 232 # (22a) Under 10.9 too: Patch to fix corelib linking 233 234 platform darwin 13 { 235 patchfiles-append patch-src_corelib_corelib.pro.diff 236 } 237 232 238 # (23) fix Framework directory in MacDeployQt tool 233 239 234 240 patchfiles-append \ … … 239 245 patchfiles-append \ 240 246 patch-libc++.diff 241 247 242 # TODO: More patches to fix Mavericks build 248 # (25) Fix CLuscene to build under 10.9 CLang 249 # (26) Fix qglobals.h to build under 10.9 CLang 250 # (27a-e) Fix WebKit to build under 10.9 CLang 251 252 platform darwin 13 { 253 patchfiles-append \ 254 patch-src_3rdparty_clucene_src_CLucene_search_FieldCacheImpl.cpp.diff \ 255 patch-src_corelib_global_qglobal.h.diff \ 256 patch-src_3rdparty_webkit_Source_WebKit_qt_QtWebKit.pro.diff \ 257 patch-src_3rdparty_webkit_Source_WebCore_platform_Timer.cpp.diff \ 258 patch-src_3rdparty_webkit_Source_WebKit_qt_WebCoreSupport_NotificationPresenterClientQt.cpp.diff \ 259 patch-src_3rdparty_webkit_Source_WebKit_qt_Api_qgraphicswebview.cpp.diff \ 260 patch-src_3rdparty_webkit_Source_WebCore_platform_network_qt_QNetworkReplyHandler.cpp.diff 261 } 262 263 264 265 # Mavericks build should be fixed... 243 266 platform darwin { 244 if {${os.major} > =13} {267 if {${os.major} > 13} { 245 268 # This project needs to be updated to build with clang++ against libc++ 246 269 depends_lib 247 270 depends_run 248 271 pre-fetch { 249 ui_error "$name does not build on OS X 10.9 Mavericks or later."272 ui_error "$name does not build on OS's later than X 10.9 Mavericks." 250 273 error "unsupported platform" 251 274 } 252 275 } … … 388 411 copy ${filespath}/library_path \ 389 412 ${worksrcpath}/config.tests/mac 390 413 414 # Copy new Version of webkits' lib for OS X 10.9 415 416 copy ${filespath}/libWebKitSystemInterfaceMavericks.a \ 417 ${worksrcpath}/src/3rdparty/webkit/WebKitLibraries 391 418 } 392 419 393 420 # Block various compilers: