svn commit: r328131 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Tue Sep 24 13:40:10 UTC 2013


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 at group wheel" >${TMPPLIST}


More information about the svn-ports-all mailing list