aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
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}