From 2cf20aa209659c7727f87b9a7645306b32e1717c Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 24 Sep 2013 13:40:09 +0000 Subject: Only make the pkg-plist start with @owner and @group if root is not needed --- Mk/bsd.port.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mk/bsd.port.mk') diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 40e65e844fb7..cced6bce6b7b 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -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} -- cgit v1.2.3