Ticket #3024: sockstat.patch

File sockstat.patch, 536 bytes (added by mjhsieh@…, 19 years ago)

My patch to issue error message on darwin 9

  • Portfile

    old new  
    1919
    2020use_configure   no
    2121
     22platform darwin 8 {
     23        ui_error "==== ATTENTION!!!! ===="
     24        ui_error "Sockstat is not working under darwin 8 nor tiger. Please use"
     25        ui_error "lsof -i6/lsof -i4/lsof -U instead."
     26        ui_error "==== ATTENTION!!!! ===="
     27        ui_error "Please sudo port uninstall sockstat"
     28}
     29
    2230destroot        {
    2331        xinstall -d -m 0755 ${destroot}${prefix}/bin
    2432        xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1