Ticket #13958: 0003-py-gtk2-leopard-missing-symbol-fix.patch

File 0003-py-gtk2-leopard-missing-symbol-fix.patch, 663 bytes (added by jaysoffian@…, 17 years ago)
  • python/py-gtk2/Portfile

    diff --git a/python/py-gtk2/Portfile b/python/py-gtk2/Portfile
    index f51e455..018af42 100644
    a b depends_lib port:gtk2 port:libglade2 \ 
    2222platform darwin 7 {
    2323    configure.env   CFLAGS="-I${x11prefix}/include"
    2424}
     25
     26platform darwin 9 {
     27    post-patch {
     28        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.am
     29        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.in
     30        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/gtk/Makefile.am
     31        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/gtk/Makefile.in
     32    }
     33}