Ticket #62964: portfile.patch

File portfile.patch, 1.4 KB (added by Wowfunhappy (Jonathan), 3 years ago)
  • aqua/qt59/Portfile

    array set modules { 
    677677    }
    678678}
    679679
     680platform darwin 13 {
     681    # Modules which fail to build on Mavericks.
     682    array unset modules qtlocation
     683}
     684
    680685############################################################################### SQL Plugin Format
    681686#
    682687# {
    build.env-append \ 
    772777    PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
    773778    PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
    774779
    775 # Qt 5.9 requires LSCopyDefaultApplicationURLForURL, which was introduced in macOS 10.10
    776 # see https://developer.apple.com/library/content/documentation/General/Reference/APIDiffsMacOSX10_10SeedDiff/frameworks/CoreServices.html
    777 if { ${os.major} < 14 } {
     780
     781if { ${os.major} < 13 } {
    778782    known_fail  yes
    779783    pre-fetch {
    780         ui_error "${subport} requires OS X 10.10 or later"
     784        ui_error "${subport} requires OS X 10.9 or later"
    781785        return -code error "incompatible OS version"
    782786    }
    783787}
    foreach {module module_info} [array get modules] { 
    888892                use_xcode yes
    889893            }
    890894
     895            # Mavericks compatibility
     896            platform darwin 13 {
     897                patchfiles-append patch-mavericks-compatibility.diff patch-mavericks-aesthetics.diff
     898            }
     899
    891900            #-----------------------------------------------------------------------------
    892901            # qtbase is used for:
    893902            #    1) building qtbase