Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2013 13:40:09 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328131 - head/Mk
Message-ID:  <201309241340.r8ODe9bB002815@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 24 13:40:09 2013
New Revision: 328131
URL: http://svnweb.freebsd.org/changeset/ports/328131

Log:
  Only make the pkg-plist start with @owner and @group if root is not needed

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Tue Sep 24 13:38:07 2013	(r328130)
+++ head/Mk/bsd.port.mk	Tue Sep 24 13:40:09 2013	(r328131)
@@ -5728,7 +5728,7 @@ generate-plist:
 	@${ECHO_MSG} "===>   Generating temporary packing list"
 	@${MKDIR} `${DIRNAME} ${TMPPLIST}`
 	@if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi
-.if defined(NO_STAGE)
+.if defined(NO_STAGE) || defined(NEED_ROOT)
 	@>${TMPPLIST}
 .else
 	@${ECHO_CMD} -e "@owner root\n@group wheel" >${TMPPLIST}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309241340.r8ODe9bB002815>