Author: arichardson
Date: Thu Aug 23 18:18:52 2018
New Revision: 338266
URL: https://svnweb.freebsd.org/changeset/base/338266

Log:
  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

Modified:
  head/include/Makefile

Modified: head/include/Makefile
==============================================================================
--- head/include/Makefile       Thu Aug 23 18:18:43 2018        (r338265)
+++ head/include/Makefile       Thu Aug 23 18:18:52 2018        (r338266)
@@ -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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to