Ticket #13781: Portfile-py25-gobject.diff

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

Made the workaround speficic to Leopard

  • Portfile

    old new  
    3131                port:libxslt \
    3232                port:python25
    3333
    34 configure.env   PYTHON=python2.5
    35 configure.args  --disable-glibtest
     34configure.python    ${prefix}/bin/python2.5
    3635
    37 test.run        yes
    38 test.env        PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
    39 test.target     check
     36platform darwin 9 {
     37        post-extract    {
     38                reinplace  "s| -export-symbols-regex.*||g" ${worksrcpath}/gobject/Makefile.am
     39                reinplace  "s| -export-symbols-regex.*||g" ${worksrcpath}/gobject/Makefile.in
     40        }
     41}
    4042
    4143post-destroot {
    4244    set docdir ${prefix}/share/doc/${name}-${version}