error message was a stub, provide a real one. While here, pet portlint. This is a catchup commit from various earlier commits. Approved by: portmgr (tier-2 blanket)