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: Author: lifanov Date: Tue Oct 31 15:06:58 UTC 2017 New revision: 453241 URL: https://svnweb.freebsd.org/changeset/ports/453241 Log: games/wtf: fix package lookup with FreeBSD pkg PR: 223329 Submitted by: John Hein <z7dr6ut7gs@snkmail.com> Changes: head/games/wtf/Makefile head/games/wtf/files/ head/games/wtf/files/patch-wtf
Committed, thanks!
Thanks. It's pkg-info(8), but not a big deal.
Ugh, sorry. I'll change it with the next update.