From owner-svn-src-head@freebsd.org Tue May 23 11:08:37 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3A98D79A45; Tue, 23 May 2017 11:08:37 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 912D71398; Tue, 23 May 2017 11:08:37 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4NB8aNP068648; Tue, 23 May 2017 11:08:36 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4NB8aSv068647; Tue, 23 May 2017 11:08:36 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201705231108.v4NB8aSv068647@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Tue, 23 May 2017 11:08:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r318740 - head/share/examples X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 11:08:37 -0000 Author: trasz Date: Tue May 23 11:08:36 2017 New Revision: 318740 URL: https://svnweb.freebsd.org/changeset/base/318740 Log: Remove unneccessary call to mtree, which, when building as an unprivileged user (with -DNO_ROOT), resulted in warnings looking like these: share/man/cat8: user (9, 3819, not modified: Operation not permitted) permissions (0755, 0700, modified) The BSD.usr.mk is already taken care of in etc/Makefile. Submitted by: Alex Richardson Reviewed by: bdrewery MFC after: 1 month Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9212 Modified: head/share/examples/Makefile Modified: head/share/examples/Makefile ============================================================================== --- head/share/examples/Makefile Tue May 23 10:00:52 2017 (r318739) +++ head/share/examples/Makefile Tue May 23 11:08:36 2017 (r318740) @@ -240,8 +240,6 @@ copies: rm -f ${DESTDIR}${BINDIR}/$i; \ fi .endfor - mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \ - -f ${SRCTOP}/etc/mtree/BSD.usr.dist -p ${DESTDIR}/usr .for file in ${XFILES} ${INSTALL} -T package=${PACKAGE_${file}:Uexamples} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \ ${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}