[32471] trunk/dports/python/py25-cairo/Portfile

afb at macports.org afb at macports.org
Thu Jan 3 04:03:54 PST 2008


Revision: 32471
          http://trac.macosforge.org/projects/macports/changeset/32471
Author:   afb at macports.org
Date:     2008-01-03 04:03:51 -0800 (Thu, 03 Jan 2008)

Log Message:
-----------
leopard workaround for missing symbols

Modified Paths:
--------------
    trunk/dports/python/py25-cairo/Portfile

Modified: trunk/dports/python/py25-cairo/Portfile
===================================================================
--- trunk/dports/python/py25-cairo/Portfile	2008-01-03 12:03:20 UTC (rev 32470)
+++ trunk/dports/python/py25-cairo/Portfile	2008-01-03 12:03:51 UTC (rev 32471)
@@ -5,6 +5,7 @@
 name            py25-cairo
 set my_name     pycairo
 version         1.4.12
+revision        1
 categories      python x11
 platforms       darwin
 maintainers     nomaintainer
@@ -26,8 +27,15 @@
                 port:cairo \
                 port:py25-numeric
 
-configure.env   PYTHON=python2.5
+configure.python    ${prefix}/bin/python2.5
 
+platform darwin 9 { 
+    post-patch { 
+        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/cairo/Makefile.am 
+        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/cairo/Makefile.in 
+    } 
+} 
+
 post-destroot {
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080103/020a5610/attachment.html


More information about the macports-changes mailing list