aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-12-23 13:53:44 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-12-23 13:53:44 +0000
commit3e3a31339825c8ae2a32631a99839dffe6cf86f7 (patch)
tree5817996fa75e9d3a88315d4128fab6de7c28bb5e /Makefile
parent3eafbc1a3af5224d0468dd723f53916fe607eca8 (diff)
downloadsrc-3e3a31339825c8ae2a32631a99839dffe6cf86f7.tar.gz
src-3e3a31339825c8ae2a32631a99839dffe6cf86f7.zip
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.
Notes
Notes: svn path=/head/; revision=55026
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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.