Ticket #58260: Portfile-gcc6.diff

File Portfile-gcc6.diff, 475 bytes (added by jmon12, 5 years ago)

Condition for applying the _Atomic patch against the SDK version instead of Xcode version.

  • Portfile

    old new  
    5353# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
    5454patchfiles-append   notparallel-install-headers.patch
    5555
    56 if {[vercmp ${xcodeversion} 10.2] >= 0} {
     56if {[vercmp ${configure.sdk_version} 10.14] >= 0} {
    5757    # https://trac.macports.org/ticket/58260
    5858    # Patch for Xcode bug, taken from
    5959    # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864#c43