Ticket #12731: Portfile-deluge.diff

File Portfile-deluge.diff, 382 bytes (added by gui-dos (Guido Soranzio), 17 years ago)
  • Portfile

    old new  
    3232        PYTHON_CFLAGS="-I${prefix}/include -I${prefix}/include/boost" \
    3333        PYTHON_LDFLAGS=-L${prefix}/lib \
    3434        CFLAGS="-I${prefix}/include -I${prefix}/include/boost"
     35       
     36post-extract {
     37        reinplace "s|'python',|'python' + py_version,|" ${worksrcpath}/src/common.py
     38}
    3539