port.tcl: adding check before printing $portinfo(category) in action_search when --line is specified This resulted in an error when action_search parsed ports without category like the ones using replace_by. For an example try "port search --line mail" before this commit, execution breaks at port p5-mail-spf-query.
port.tcl: adding check before printing $portinfo(category) in action_search when --line is specified
This resulted in an error when action_search parsed ports without category like the ones using replace_by.
For an example try "port search --line mail" before this commit, execution breaks at port p5-mail-spf-query.

git-svn-id: 620571fa9b4bd0cbce9a0cf901e91ef896adbf27@89306 d073be05-634f-4543-b044-5fe20cf6d1d6

neverpanic/macports-base,macports/macports-base,neverpanic/macports-base,danchr/macports-base,danchr/macports-base,macports/macports-base