Ticket #28458: Portfile.diff

File Portfile.diff, 644 bytes (added by gellule.xg@…, 13 years ago)
  • Portfile.

    old new  
    8787        # does nothing but offer a counter-point to disable_debugging
    8888}
    8989
     90variant no_x11 description {Remove dependency on X11} {
     91        patchfiles-append patch-configure-removeX11.diff
     92}
     93
    9094post-patch {
    9195        reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.6\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
    9296        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h