Ticket #44580: p5-unicode-linebreak-cctools.diff

File p5-unicode-linebreak-cctools.diff, 456 bytes (added by Ionic (Mihai Moldovan), 10 years ago)

use /usr/bin/ar instead of ${prefix}/bin/ar

  • ports/perl/p5-unicode-linebreak/Portfile

     
    2121if {$subport != $name} {
    2222    depends_lib-append  port:p${perl5.major}-mime-charset
    2323}
     24
     25post-configure {
     26    reinplace -W "${worksrcpath}" "s|${prefix}/bin/ar|/usr/bin/ar|g" Makefile
     27    reinplace -W "${worksrcpath}/sombok" "s|${prefix}/bin/ar|/usr/bin/ar|g" Makefile
     28}