Created attachment 187599 [details]
[patch] use pkg info instead of pkg_info
The wtf script tries pkg_info on the term if the original lookup or 'whatis' fails. The attached patch changes that to 'pkg info' for the recent versions of FreeBSD.
Thank you for the submission! I will take a slightly different approach that can be upstreamed.
A commit references this bug:
Date: Tue Oct 31 15:06:58 UTC 2017
New revision: 453241
games/wtf: fix package lookup with FreeBSD pkg
Submitted by: John Hein <email@example.com>
Thanks. It's pkg-info(8), but not a big deal.
Ugh, sorry. I'll change it with the next update.