From db1ca87b7d6ec2c317afc4d32fc48e32496ca636 Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Mon, 17 Nov 2014 22:35:00 +0100 Subject: [PATCH] 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 --- share/mk/bsd.own.mk | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.44.0