[96749] trunk/dports/python/py27-svn/Portfile
blair at macports.org
blair at macports.org
Fri Aug 17 20:31:21 PDT 2012
Revision: 96749
https://trac.macports.org/changeset/96749
Author: blair at macports.org
Date: 2012-08-17 20:31:21 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
py27-svn: move pre-configure before configure.
Modified Paths:
--------------
trunk/dports/python/py27-svn/Portfile
Modified: trunk/dports/python/py27-svn/Portfile
===================================================================
--- trunk/dports/python/py27-svn/Portfile 2012-08-18 03:30:42 UTC (rev 96748)
+++ trunk/dports/python/py27-svn/Portfile 2012-08-18 03:31:21 UTC (rev 96749)
@@ -29,6 +29,11 @@
worksrcdir ${worksrcdir}/Source
use_configure yes
+
+pre-configure {
+ system "cd ${worksrcpath} && ${python.bin} setup.py backport"
+}
+
configure.cmd ${python.bin} setup.py configure
configure.pre_args
configure.args --apr-inc-dir=${prefix}/include/apr-1 \
@@ -36,10 +41,6 @@
--apr-lib-dir=${prefix}/lib \
--svn-root-dir=${prefix}
-pre-configure {
- system "cd ${worksrcpath} && ${python.bin} setup.py backport"
-}
-
post-configure {
reinplace "s|^\t@|\t|" ${worksrcpath}/Makefile
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/c9dfc0f1/attachment.html>
More information about the macports-changes
mailing list