New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14937: Portfile.diff

File Portfile.diff, 0.5 KB (added by neric27@…, 4 years ago)

Patch to automatically replace the include

  • Portfile

    old new  
    7171 
    7272post-patch { 
    7373        reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"${prefix}/bin/python2.5\"|g" ${worksrcpath}/src/extension/implementation/script.cpp 
     74        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h 
    7475}