[96764] trunk/dports/python/py-pysvn/Portfile

blair at macports.org blair at macports.org
Sat Aug 18 13:41:06 PDT 2012


Revision: 96764
          https://trac.macports.org/changeset/96764
Author:   blair at macports.org
Date:     2012-08-18 13:41:02 -0700 (Sat, 18 Aug 2012)
Log Message:
-----------
py-pysvn: make sure to compile with ${configure.cc} and ${configure.cxx}.

Modified Paths:
--------------
    trunk/dports/python/py-pysvn/Portfile

Modified: trunk/dports/python/py-pysvn/Portfile
===================================================================
--- trunk/dports/python/py-pysvn/Portfile	2012-08-18 18:18:49 UTC (rev 96763)
+++ trunk/dports/python/py-pysvn/Portfile	2012-08-18 20:41:02 UTC (rev 96764)
@@ -5,6 +5,7 @@
                 
 name            py-pysvn
 version         1.7.6
+revision        1
 categories      python devel
 maintainers     blair gmail.com:yunzheng.hu openmaintainer
 platforms       darwin
@@ -36,6 +37,10 @@
 
     pre-configure {
         system "cd ${worksrcpath} && ${python.bin} setup.py backport"
+        reinplace "s|'gcc|'${configure.cc}|g" \
+            ${worksrcpath}/setup_configure.py
+        reinplace "s|'g\+\+|'${configure.cxx}|g" \
+            ${worksrcpath}/setup_configure.py
     }
 
     configure.cmd   ${python.bin} setup.py configure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120818/924ffd1b/attachment.html>


More information about the macports-changes mailing list