Ticket #40852: Portfile.diff

File Portfile.diff, 2.6 KB (added by BSeppke (Benjamin Seppke), 10 years ago)

Final patch for Portfile using all the new patches to build under 10.9

  • Portfile

    old new  
    11# -*- 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 $
    33
    44PortSystem          1.0
    55
     
    171171
    172172patchfiles-append   patch-src_plugins_bearer_corewlan_corewlan.pro.diff
    173173
    174 # (15) fix the corewlan source to work under 10.7
     174# (15) fix the corewlan source to work under 10.9 too
    175175
    176176patchfiles-append   patch-src_plugins_bearer_corewlan_qcorewlanengine.mm.diff
    177177
     
    229229    patchfiles-append patch-src_corelib_corelib.pro.diff
    230230}
    231231
     232# (22a) Under 10.9 too: Patch to fix corelib linking
     233
     234platform darwin 13 {
     235    patchfiles-append patch-src_corelib_corelib.pro.diff
     236}
     237
    232238# (23) fix Framework directory in MacDeployQt tool
    233239
    234240patchfiles-append   \
     
    239245patchfiles-append   \
    240246    patch-libc++.diff
    241247
    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# (27 a-e) Fix WebKit to build under 10.9 CLang
     251
     252platform 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_WebCore_platform_Timer.h.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...
    243266platform darwin {
    244     if {${os.major} >= 13} {
     267    if {${os.major} > 13} {
    245268        # This project needs to be updated to build with clang++ against libc++
    246269        depends_lib
    247270        depends_run
    248271        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."
    250273            error "unsupported platform"
    251274        }
    252275    }
     
    388411    copy ${filespath}/library_path \
    389412        ${worksrcpath}/config.tests/mac
    390413
     414    # Copy new Version of webkits' lib for  OS X 10.9
     415   
     416    copy ${filespath}/libWebKitSystemInterfaceMavericks.a \
     417        ${worksrcpath}/src/3rdparty/webkit/WebKitLibraries
    391418}
    392419
    393420# Block various compilers: