Ticket #14476: asciidoc-Portfile.patch

File asciidoc-Portfile.patch, 817 bytes (added by michel.sylvan@…, 17 years ago)

Portfile patch to use correct python interpreter

  • textproc/asciidoc/Portfile

    diff -ru ports.upstream/textproc/asciidoc/Portfile ports/textproc/asciidoc/Portfile
    old new  
    44
    55name                            asciidoc
    66version                         8.2.5
     7revision                        1
    78categories                      textproc
    89maintainers                     boeyms openmaintainer
    910description                     Formatter/translator for text files to numerous formats
     
    7273                doc/a2x.1 \
    7374                ${destroot}${prefix}/share/man/man1
    7475
    75         reinplace "s|^#!/usr/bin/env python|#!${prefix}/bin/python|" \
     76        reinplace "s|^#!/usr/bin/env python|#!${prefix}/bin/python2.4|" \
    7677                ${destroot}${prefix}/bin/${name} \
    7778                ${destroot}${prefix}/etc/${name}/filters/code-filter.py
    7879        reinplace "s|/etc/${name}|${prefix}/etc/${name}|" \