Ticket #21118: Portfile.diff
File Portfile.diff, 880 bytes (added by ys@…, 15 years ago) |
---|
-
ports/lang/python24/Portfile
old new 5 5 6 6 name python24 7 7 version 2.4.6 8 revision 48 revision 5 9 9 set major [lindex [split $version .] 0] 10 10 set branch [join [lrange [split ${version} .] 0 1] .] 11 11 categories lang … … 160 160 configure.args-append --disable-toolbox-glue 161 161 destroot.target install maninstall 162 162 } 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 } 163 167 } 164 168 165 169 platform puredarwin {