Ticket #14854: Portfile.diff

File Portfile.diff, 656 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • Portfile

    old new  
    9191        --without-perl
    9292    configure.args-append \
    9393        --with-perl=${prefix}/bin/perl
     94    post-destroot {
     95        foreach packlist [exec find ${destroot} -name .packlist] {
     96            ui_info "Fixing packlist ${packlist}"
     97            reinplace "s|${destroot}||" ${packlist}
     98        }
     99        foreach badfile [exec find ${destroot} -name perllocal.pod] {
     100            ui_info "Removing ${badfile}"
     101            file delete ${badfile}
     102        }
     103    }
    94104}
    95105
    96106variant gs description {Include Ghostscript library support} {