Ticket #13782: Portfile-py25-gtk.diff

File Portfile-py25-gtk.diff, 731 bytes (added by gui-dos (Guido Soranzio), 16 years ago)

Made the workaround specific to Leopard

  • Portfile

    old new  
    2929                port:py25-cairo \
    3030                port:py25-gobject
    3131
    32 configure.env   PYTHON=python2.5
    33 configure.args  --disable-glibtest
     32configure.python    ${prefix}/bin/python2.5
     33
     34platform darwin 9 {
     35        post-extract {
     36                reinplace  "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.am
     37                reinplace  "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.in
     38                reinplace  "s| -export-symbols-regex.*||g" ${worksrcpath}/gtk/Makefile.am
     39                reinplace  "s| -export-symbols-regex.*||g" ${worksrcpath}/gtk/Makefile.in
     40        }
     41}
    3442
    3543platform darwin 7 {
    3644    configure.cflags-append -I${x11prefix}/include