Ticket #33472: qt4-mac-with-xcode4.3-sdks.patch

File qt4-mac-with-xcode4.3-sdks.patch, 678 bytes (added by neverpanic (Clemens Lang), 13 years ago)

patch against the Portfile

  • Portfile

     
    342342            } else {
    343343                set sdk_version "10.${MINOR}"
    344344            }
    345             set SDK ${developer_dir}/SDKs/MacOSX${sdk_version}.sdk
     345            if {[vercmp $xcodeversion 4.3] < 0} {
     346                set SDK ${developer_dir}/SDKs/MacOSX${sdk_version}.sdk
     347            } else {
     348                set SDK ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${sdk_version}.sdk
     349            }
    346350        }
    347351        if {[file exists ${SDK}]} {
    348352            configure.args-append -sdk ${SDK}