Ticket #21118: Portfile.diff

File Portfile.diff, 880 bytes (added by ys@…, 15 years ago)

added patch file for python24

  • ports/lang/python24/Portfile

    old new  
    55
    66name                    python24
    77version                 2.4.6
    8 revision                4
     8revision                5
    99set major               [lindex [split $version .] 0]
    1010set branch              [join [lrange [split ${version} .] 0 1] .]
    1111categories              lang
     
    160160        configure.args-append --disable-toolbox-glue
    161161        destroot.target       install maninstall
    162162    }
     163        post-configure {
     164                reinplace "s|#define _POSIX_C_SOURCE 200112L|#undef _POSIX_C_SOURCE|g" ${worksrcpath}/pyconfig.h
     165                reinplace "s|#define _XOPEN_SOURCE 600|#undef _XOPEN_SOURCE|g" ${worksrcpath}/pyconfig.h 
     166        }
    163167}
    164168
    165169platform puredarwin {