Ticket #42195: mosh-perl5.16.diff

File mosh-perl5.16.diff, 831 bytes (added by neverpanic (Clemens Lang), 10 years ago)

Patch against the mosh Portfile

  • Portfile

     
    55
    66name                    mosh
    77version                 1.2.4
    8 revision                3
     8revision                4
    99categories              net
    1010license                 GPL-3+
    1111platforms               darwin
     
    2626                        port:protobuf-cpp \
    2727                        port:zlib \
    2828                        port:openssl \
    29                         port:p5.12-getopt-long
     29                        port:p5.16-getopt-long
    3030
    3131post-patch {
    32     reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl5.12|" ${worksrcpath}/scripts/mosh
     32    reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl5.16|" ${worksrcpath}/scripts/mosh
    3333}
    3434
    3535post-destroot {