aboutsummaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2018-08-23 18:18:52 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2018-08-23 18:18:52 +0000
commita52fd948a287813298cb975caf8a400aa221611d (patch)
treee159bb8814c571db8a9359da85e873d24d2fefeb /include/Makefile
parent101db63b420315d32792c53dbe759cb97005be63 (diff)
downloadsrc-a52fd948a287813298cb975caf8a400aa221611d.tar.gz
src-a52fd948a287813298cb975caf8a400aa221611d.zip
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
Notes
Notes: svn path=/head/; revision=338266
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index 73ce855469e5..372996def5de 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