[76841] trunk/dports/lang/python24/Portfile

jmr at macports.org jmr at macports.org
Thu Mar 10 00:56:56 PST 2011


Revision: 76841
          http://trac.macports.org/changeset/76841
Author:   jmr at macports.org
Date:     2011-03-10 00:56:56 -0800 (Thu, 10 Mar 2011)
Log Message:
-----------
python24: now with correct scoping

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

Modified: trunk/dports/lang/python24/Portfile
===================================================================
--- trunk/dports/lang/python24/Portfile	2011-03-10 08:50:56 UTC (rev 76840)
+++ trunk/dports/lang/python24/Portfile	2011-03-10 08:56:56 UTC (rev 76841)
@@ -159,14 +159,15 @@
     	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  
-		
+		}
 		patchfiles-append   patch-macosmodule.diff \
 							patch-mactoolboxglue.diff \
 							patch-pymactoolbox.diff
-		}
     }
-    if {![file exists /usr/lib/libSystemStubs.a]} {
-    	reinplace s/-lSystemStubs//g ${worksrcpath}/configure
+    post-patch {
+        if {![file exists /usr/lib/libSystemStubs.a]} {
+            reinplace s/-lSystemStubs//g ${worksrcpath}/configure
+        }
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110310/b499b055/attachment.html>


More information about the macports-changes mailing list