aboutsummaryrefslogtreecommitdiff
path: root/games/fortune
diff options
context:
space:
mode:
authorGavin Atkinson <gavin@FreeBSD.org>2014-07-14 23:25:29 +0000
committerGavin Atkinson <gavin@FreeBSD.org>2014-07-14 23:25:29 +0000
commitd634b1f709fa192cb8ff6ebbb0d869aac4f90865 (patch)
treedadfab9758198971138c8300ade026ac83d5585d /games/fortune
parent965d08605f5d5b4172435ed98a32983f29e6a771 (diff)
downloadsrc-d634b1f709fa192cb8ff6ebbb0d869aac4f90865.tar.gz
src-d634b1f709fa192cb8ff6ebbb0d869aac4f90865.zip
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
Notes
Notes: svn path=/head/; revision=268637
Diffstat (limited to 'games/fortune')
-rw-r--r--games/fortune/fortune/pathnames.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/fortune/fortune/pathnames.h b/games/fortune/fortune/pathnames.h
index d777c6d38445..149b3e8d56b4 100644
--- a/games/fortune/fortune/pathnames.h
+++ b/games/fortune/fortune/pathnames.h
@@ -30,4 +30,5 @@
* $FreeBSD$
*/
-#define FORTDIR "/usr/share/games/fortune"
+#define FORTDIR "/usr/share/games/fortune:" \
+ "/usr/local/share/games/fortune"