[48818] trunk/dports/www/mod_python25/Portfile
raimue at macports.org
raimue at macports.org
Sun Mar 29 11:32:38 PDT 2009
Revision: 48818
http://trac.macports.org/changeset/48818
Author: raimue at macports.org
Date: 2009-03-29 11:32:37 -0700 (Sun, 29 Mar 2009)
Log Message:
-----------
www/mod_python25:
Use ${frameworks_dir} and apply a workaround for #17998
Modified Paths:
--------------
trunk/dports/www/mod_python25/Portfile
Modified: trunk/dports/www/mod_python25/Portfile
===================================================================
--- trunk/dports/www/mod_python25/Portfile 2009-03-29 17:36:36 UTC (rev 48817)
+++ trunk/dports/www/mod_python25/Portfile 2009-03-29 18:32:37 UTC (rev 48818)
@@ -4,7 +4,7 @@
name mod_python25
version 3.3.1
-revision 1
+revision 2
categories www python
platforms darwin
maintainers mww jwa
@@ -29,7 +29,7 @@
patchfiles patch-dist-Makefile.in.diff patch-src-connobject.c.diff
configure.cppflags "-I${prefix}/include/python2.5"
-configure.ldflags-append "-Wl,-F${prefix}/Library/Frameworks"
+configure.ldflags-append "-Wl,-F${frameworks_dir}"
configure.args --with-apxs=${prefix}/apache2/bin/apxs \
--with-python=${prefix}/bin/python2.5 \
--with-flex=${prefix}/bin/flex \
@@ -43,6 +43,12 @@
file copy ${worksrcpath}/doc-html ${destroot}${prefix}/share/doc/${name}
}
+# Workaround for #17998
+post-destroot {
+ move ${destroot}${frameworks_dir}/Python.framework/Versions/2.5/lib/python2.5 \
+ ${destroot}${prefix}/lib/python2.5
+}
+
post-install {
ui_msg "########################################################"
ui_msg "# to enable mod_python add"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090329/dddd96b5/attachment.html>
More information about the macports-changes
mailing list