]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix for missing /usr/games in root's PATH 95/2895/1
authorLionel Sambuc <lionel@minix3.org>
Mon, 17 Nov 2014 21:35:00 +0000 (22:35 +0100)
committerLionel Sambuc <lionel@minix3.org>
Mon, 17 Nov 2014 21:35:00 +0000 (22:35 +0100)
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

share/mk/bsd.own.mk

index 11dfef6d857d7670f675319b2ac0263bc7bf0ae7..284505d3caa2a2bac322937fe6fb61020a6b6d5e 100644 (file)
@@ -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)