[69337] trunk/dports/lang/python24/Portfile
jmr at macports.org
jmr at macports.org
Wed Jun 30 18:38:29 PDT 2010
Revision: 69337
http://trac.macports.org/changeset/69337
Author: jmr at macports.org
Date: 2010-06-30 18:38:28 -0700 (Wed, 30 Jun 2010)
Log Message:
-----------
python24: fix lack of ESHUTDOWN (#21118)
Modified Paths:
--------------
trunk/dports/lang/python24/Portfile
Modified: trunk/dports/lang/python24/Portfile
===================================================================
--- trunk/dports/lang/python24/Portfile 2010-07-01 01:32:50 UTC (rev 69336)
+++ trunk/dports/lang/python24/Portfile 2010-07-01 01:38:28 UTC (rev 69337)
@@ -5,7 +5,7 @@
name python24
version 2.4.6
-revision 4
+revision 5
set major [lindex [split $version .] 0]
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
@@ -160,6 +160,10 @@
configure.args-append --disable-toolbox-glue
destroot.target install maninstall
}
+ post-configure {
+ reinplace "s|#define _POSIX_C_SOURCE 200112L|#undef _POSIX_C_SOURCE|g" ${worksrcpath}/pyconfig.h
+ reinplace "s|#define _XOPEN_SOURCE 600|#undef _XOPEN_SOURCE|g" ${worksrcpath}/pyconfig.h
+ }
}
platform puredarwin {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100630/4e3e36fa/attachment.html>
More information about the macports-changes
mailing list