Created attachment 144568 [details] patch.diff It seems the default behavior of fortune(6) is not as intended when dealing with additional fortune mods from ports which install into /usr/local/share/games/fortune. sun # pkg info -s fortune-mod-bofh fortune-mod-bofh-2.0_3 32.1KiB sun # fortune -f all ___% /usr/share/games/fortune ___% freebsd-tips ___% murphy ___% fortunes ___% startrek ___% gerrold.limerick ___% zippy ___% limerick Attached patch makes fortune(6) search both /usr/share/games/fortune and /usr/local/share/games/fortune when it is present.
A commit references this bug: Author: gavin Date: Mon Jul 14 23:25:30 UTC 2014 New revision: 268637 URL: http://svnweb.freebsd.org/changeset/base/268637 Log: fortune(8): Search fortune files installed by ports/packages as well as those supplied by the base system. PR: 191800 Submitted by: Andy Kosela MFC after: 1 week Changes: head/games/fortune/fortune/pathnames.h
A commit references this bug: Author: gavin Date: Wed Aug 13 12:36:59 UTC 2014 New revision: 269933 URL: http://svnweb.freebsd.org/changeset/base/269933 Log: Merge r268637 from head: fortune(8): Search fortune files installed by ports/packages as well as those supplied by the base system. PR: 191800 Submitted by: Andy Kosela Changes: _U stable/10/ stable/10/games/fortune/fortune/pathnames.h
A commit references this bug: Author: gavin Date: Wed Aug 13 12:38:09 UTC 2014 New revision: 269934 URL: http://svnweb.freebsd.org/changeset/base/269934 Log: Merge r268637 from head: fortune(8): Search fortune files installed by ports/packages as well as those supplied by the base system. PR: 191800 Submitted by: Andy Kosela Changes: _U stable/9/games/fortune/fortune/ stable/9/games/fortune/fortune/pathnames.h