[32470] trunk/dports/python/py25-gtk/Portfile

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


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

Log Message:
-----------
leopard workaround for missing symbols (#12966, #13782)

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

Modified: trunk/dports/python/py25-gtk/Portfile
===================================================================
--- trunk/dports/python/py25-gtk/Portfile	2008-01-03 12:01:29 UTC (rev 32469)
+++ trunk/dports/python/py25-gtk/Portfile	2008-01-03 12:03:20 UTC (rev 32470)
@@ -5,6 +5,7 @@
 name            py25-gtk
 set my_name     pygtk
 version         2.12.0
+revision        1
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      python x11
 maintainers     nomaintainer
@@ -29,13 +30,22 @@
                 port:py25-cairo \
                 port:py25-gobject
 
-configure.env   PYTHON=python2.5
+configure.python    ${prefix}/bin/python2.5
 configure.args  --disable-glibtest
 
 platform darwin 7 {
     configure.cflags-append -I${x11prefix}/include
 }
 
+platform darwin 9 { 
+    post-patch { 
+        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.am 
+        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.in 
+        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/gtk/Makefile.am 
+        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/gtk/Makefile.in 
+    } 
+} 
+
 livecheck.check regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

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


More information about the macports-changes mailing list