summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-12-23 13:53:44 +0000
committermarcel <marcel@FreeBSD.org>1999-12-23 13:53:44 +0000
commiteb1274d8db8b40f906ab7fcdca6d517c413ab072 (patch)
tree5d9f517b0d40ec56f7ae403f2b6b3765e0160ae6
parent6482c2b67b9e5b6b506ce63d34c0c4842575dca5 (diff)
downloadFreeBSD-src-eb1274d8db8b40f906ab7fcdca6d517c413ab072.zip
FreeBSD-src-eb1274d8db8b40f906ab7fcdca6d517c413ab072.tar.gz
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.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f70768f..a04958b 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.
OpenPOWER on IntegriCloud