Ticket #20284: python26_snowleopard.patch

File python26_snowleopard.patch, 538 bytes (added by kentk@…, 15 years ago)

patch that forces 10.5 sdk instead of 10.6

  • python26/Portfile

    old new  
    137137   configure.ldflags-append   "-lcc_dynamic"
    138138}
    139139
     140platform darwin 10 {
     141   macosx_deployment_target "10.5"
     142
     143   pre-configure {
     144      configure.args-delete --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}.sdk
     145      configure.args-append --enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk
     146   }
     147}
     148
    140149variant universal {
    141150   post-patch {
    142151      set universal_arch_flags {}