Ticket #14937: Portfile.diff

File Portfile.diff, 535 bytes (added by neric27@…, 16 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}