Fix building on read-only source trees.
This partially reverts r296702 and reworks the original check to only look in .CURDIR. This avoids ever trying to rebuild a .src file that is already in the source tree as an override. PR: 211952 MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
d34d90a89d
commit
6ea8e4de48
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=304643
@ -67,9 +67,11 @@ codesets: ${ESDB}
|
||||
|
||||
.if !defined(NO_PREPROC)
|
||||
.for i in ${PART}
|
||||
.if !exists(${.CURDIR}/${EPREFIX}${i:S/:/@/}.src)
|
||||
${EPREFIX}${i:S/:/@/}.src: ${CODE}.src
|
||||
sed ${SED_EXP:S@%%PART%%@${i}@} ${.ALLSRC} > ${.TARGET}
|
||||
@echo ${.TARGET} >>.tmpfiles
|
||||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user