New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14854: Portfile.diff

File Portfile.diff, 0.6 KB (added by marcuscalhounlopez@…, 4 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} {