[60380] trunk/dports/lang/python25

jmr at macports.org jmr at macports.org
Tue Nov 10 06:40:10 PST 2009


Revision: 60380
          http://trac.macports.org/changeset/60380
Author:   jmr at macports.org
Date:     2009-11-10 06:40:06 -0800 (Tue, 10 Nov 2009)
Log Message:
-----------
python25: disable poll (#18376)

Modified Paths:
--------------
    trunk/dports/lang/python25/Portfile

Added Paths:
-----------
    trunk/dports/lang/python25/files/pyconfig.ed

Modified: trunk/dports/lang/python25/Portfile
===================================================================
--- trunk/dports/lang/python25/Portfile	2009-11-10 14:28:59 UTC (rev 60379)
+++ trunk/dports/lang/python25/Portfile	2009-11-10 14:40:06 UTC (rev 60380)
@@ -5,7 +5,7 @@
 
 name                    python25
 version                 2.5.4
-revision                8
+revision                9
 set branch              [join [lrange [split ${version} .] 0 1] .]
 categories              lang
 platforms               darwin
@@ -133,6 +133,13 @@
 \n\tsudo python_select $name\n"
 }
 
+platform darwin {
+   post-configure {
+      # See http://trac.macports.org/ticket/18376
+      system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.ed"
+   }
+}
+
 platform darwin 8 {
     patchfiles-append               patch-FSIORefNum.diff
 }

Copied: trunk/dports/lang/python25/files/pyconfig.ed (from rev 60345, trunk/dports/lang/python26/files/pyconfig.ed)
===================================================================
--- trunk/dports/lang/python25/files/pyconfig.ed	                        (rev 0)
+++ trunk/dports/lang/python25/files/pyconfig.ed	2009-11-10 14:40:06 UTC (rev 60380)
@@ -0,0 +1,2 @@
+g,.*\(HAVE_POLL[_A-Z]*\).*,s,,/* #undef \1 */,
+w
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091110/65f5d5f7/attachment-0001.html>


More information about the macports-changes mailing list