[58486] trunk/dports/python/py25-sip/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Tue Sep 29 09:17:40 PDT 2009
Revision: 58486
http://trac.macports.org/changeset/58486
Author: macsforever2000 at macports.org
Date: 2009-09-29 09:17:40 -0700 (Tue, 29 Sep 2009)
Log Message:
-----------
Changes to make this portfile more like py26-sip.
Modified Paths:
--------------
trunk/dports/python/py25-sip/Portfile
Modified: trunk/dports/python/py25-sip/Portfile
===================================================================
--- trunk/dports/python/py25-sip/Portfile 2009-09-29 16:17:29 UTC (rev 58485)
+++ trunk/dports/python/py25-sip/Portfile 2009-09-29 16:17:40 UTC (rev 58486)
@@ -29,13 +29,23 @@
checksums md5 caf83cde684dbf7aeeb9c4447d54b98d \
sha1 5c9e0aa55d664e2a35295b031df950d0a4fe9529 \
rmd160 71b181093d9410a282de73f3c8235e2f330442e7
+
dist_subdir python
set pyversion 2.5
depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
set pybin ${prefix}/bin/python${pyversion}
-configure.cmd ${prefix}/bin/python2.5 configure.py
+configure.cmd ${pybin} configure.py
+
+pre-configure {
+ # Ensure correct compilers are used
+ reinplace "s| cc\$| ${configure.cc}|" \
+ ${worksrcpath}/specs/macx-g++
+ reinplace "s| c++\$| ${configure.cxx}|" \
+ ${worksrcpath}/specs/macx-g++
+}
+
configure.pre_args -d ${prefix}/lib/python2.5/site-packages \
-e ${prefix}/include/python2.5 \
-v ${prefix}/share/sip \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090929/3b8e0bc8/attachment-0001.html>
More information about the macports-changes
mailing list