Handle -DNO_ROOT for make compat in include/

Otherwise this step will fail on a Linux host due to missing "wheel" group

Approved By:	brooks (mentor)
Differential Revision: https://reviews.freebsd.org/D16841
This commit is contained in:
Alex Richardson 2018-08-23 18:18:52 +00:00
parent 101db63b42
commit a52fd948a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338266

View file

@ -143,7 +143,7 @@ compat:
rm -f ${SDESTDIR}${INCLUDEDIR}/$i; \
fi
.endfor
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
mtree -deU ${NO_ROOT:D-W} ${MTREE_FOLLOWS_SYMLINKS} \
-f ${SRCTOP}/etc/mtree/BSD.include.dist \
-p ${SDESTDIR}${INCLUDEDIR} > /dev/null