mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools
Without this, we end up with just the host's tools in PATH during
_lc_build-tools. In particular, sed on GNU/Linux systems will be GNU
sed, whose -i option has different semantics, and this causes the lib32
build of ncurses to fail trying to create curses.h with:
sed: can't read s|...|...|g: No such file or directory
This has always been a bug in Makefile.libcompat but previously it
didn't end up mattering; this is the first known case.
Fixes: 1cc020eba6 ("ncurses: Provide reproducible paths")
MFC after: 1 week
This commit is contained in:
parent
b3b5781c1c
commit
e84374d38b
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ build${libcompat}: .PHONY
|
|||
-p ${WORLDTMP}/usr/lib/debug/usr >/dev/null
|
||||
.endif
|
||||
${_+_}cd ${.CURDIR}; \
|
||||
PATH=${BPATH:Q}:${PATH:Q} \
|
||||
WORLDTMP=${WORLDTMP} \
|
||||
MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \
|
||||
${MAKE} -f Makefile.inc1 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue