From a52fd948a287813298cb975caf8a400aa221611d Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Thu, 23 Aug 2018 18:18:52 +0000 Subject: [PATCH] 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 --- include/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Makefile b/include/Makefile index 73ce855469e..372996def5d 100644 --- a/include/Makefile +++ b/include/Makefile @@ -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