Ticket #14855: Portfile.diff

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

    old new  
    6666
    6767variant ksm description { support for kerberos based SNMP security } { configure.args-append --with-security-modules="usm ksm" }
    6868
    69 post-destroot   { destroot.keepdirs ${destroot}${prefix}/var/net-snmp }
    70 
     69post-destroot   {
     70        destroot.keepdirs ${destroot}${prefix}/var/net-snmp
     71        foreach packlist [exec find ${destroot} -name .packlist] {
     72                ui_info "Fixing packlist ${packlist}"
     73                reinplace "s|${destroot}||" ${packlist}
     74        }
     75        foreach badfile [exec find ${destroot} -name perllocal.pod] {
     76                ui_info "Removing ${badfile}"
     77                file delete ${badfile}
     78        }
     79}