Ticket #30696: inkscape-devel.diff

File inkscape-devel.diff, 1.6 KB (added by ecronin (Eric Cronin), 13 years ago)
  • dports/graphics/inkscape-devel/Portfile

    diff --git a/dports/graphics/inkscape-devel/Portfile b/dports/graphics/inkscape-devel/Portfile
    index 8061d1b..a62f72c 100644
    a b depends_lib port:boehmgc \ 
    5454#
    5555
    5656depends_lib-append \
    57                 port:py26-lxml \
    58                 port:py26-numpy \
    59                 port:py26-xml
     57                port:py27-lxml \
     58                port:py27-numpy \
     59                port:py27-xml
    6060
    6161pre-fetch {
    6262    ui_msg "--->  Fetching source from bzr repository: this may take a while"
    configure.args --with-xft \ 
    7373                --enable-poppler-cairo \
    7474                --enable-dbusapi
    7575
    76 configure.python ${prefix}/bin/python2.6
     76configure.python ${prefix}/bin/python2.7
    7777
    7878configure.cppflags-append \
    7979        -I${worksrcpath}/src/extension/script
    variant enable_debugging conflicts disable_debugging description {Enable debuggi 
    9595}
    9696
    9797post-patch {
    98         reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.6\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
     98        reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.7\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
    9999        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
    100100        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
    101101}