From: Lionel Sambuc Date: Mon, 17 Nov 2014 21:35:00 +0000 (+0100) Subject: Fix for missing /usr/games in root's PATH X-Git-Url: http://zhaoyanbai.com/repos/migration-4to9?a=commitdiff_plain;h=db1ca87b7d6ec2c317afc4d32fc48e32496ca636;p=minix.git Fix for missing /usr/games in root's PATH After importing the default environment from NetBSD, we discovered that it doesn't contain /usr/games, which is required for the commands strfile. This utility is used while generating fortune database. This patch simply sets TOOL_STRFILE to contain an absolute path. Change-Id: I2e366a0b67d5258f387c3f5a2a2a581fedead359 --- diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 11dfef6d8..284505d3c 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -649,7 +649,11 @@ TOOL_SED= sed TOOL_SOELIM= soelim TOOL_SPARKCRC= sparkcrc TOOL_STAT= stat +.if defined(__MINIX) +TOOL_STRFILE= /usr/games/strfile +.else TOOL_STRFILE= strfile +.endif # defined(__MINIX) TOOL_SUNLABEL= sunlabel TOOL_TBL= tbl .if defined(__MINIX)