[58192] trunk/dports/lang/python26/Portfile

blb at macports.org blb at macports.org
Wed Sep 23 16:12:22 PDT 2009


Revision: 58192
          http://trac.macports.org/changeset/58192
Author:   blb at macports.org
Date:     2009-09-23 16:12:18 -0700 (Wed, 23 Sep 2009)
Log Message:
-----------
lang/python26 - getgroup fix from r58151 fails on < 10.6, ticket #21580

Revision Links:
--------------
    http://trac.macports.org/changeset/58151

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

Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile	2009-09-23 22:54:07 UTC (rev 58191)
+++ trunk/dports/lang/python26/Portfile	2009-09-23 23:12:18 UTC (rev 58192)
@@ -71,8 +71,10 @@
    system "cd ${worksrcpath} && ed - Modules/_localemodule.c < ${filespath}/_localemodule.c.ed"
    system "cd ${worksrcpath} && ed - Lib/locale.py < ${filespath}/locale.py.ed"
 
-   # http://trac.macports.org/ticket/21559
-   system "cd ${worksrcpath} && ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
+   if {${os.platform} == "darwin" && ${os.major} > 9} {
+      # http://trac.macports.org/ticket/21559
+      system "cd ${worksrcpath} && ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
+   }
 }
 
 build.target            all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090923/b4302258/attachment.html>


More information about the macports-changes mailing list