From 3e3a31339825c8ae2a32631a99839dffe6cf86f7 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Thu, 23 Dec 1999 13:53:44 +0000 Subject: [PATCH] Descent into sub-makes with a fixed PATH. The PATH does not contain /usr/games on purpose. All tools in /usr/games are built as part of the tool stages to support building world on machines without games. This fixes any build problems that have been caused by non-standard paths and also removes the primary objection for not using absolute paths. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f70768f35409..a04958bbc2a8 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,8 @@ TGTS = afterdistribute all buildworld checkdpadd clean cleandepend cleandir \ installworld lint maninstall mk most obj objlink regress rerelease \ tags update -MAKE= make -m ${.CURDIR}/share/mk -f Makefile.inc1 +PATH= /sbin:/bin:/usr/sbin:/usr/bin +MAKE= PATH=${PATH} make -m ${.CURDIR}/share/mk -f Makefile.inc1 # # Handle the user-driven targets, using the source relative mk files.