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.
This commit is contained in:
parent
3eafbc1a3a
commit
3e3a313398
3
Makefile
3
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.
|
||||
|
Loading…
Reference in New Issue
Block a user