aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-24 13:40:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-24 13:40:09 +0000
commit2cf20aa209659c7727f87b9a7645306b32e1717c (patch)
treee2fc30e2a02506a85e8743ded5abc4e8aa2ad997 /Mk
parentf1a178ff3cb6a83734c47ff58601edc7813769f8 (diff)
downloadports-2cf20aa209659c7727f87b9a7645306b32e1717c.tar.gz
ports-2cf20aa209659c7727f87b9a7645306b32e1717c.zip
Notes
Diffstat (limited to 'Mk')
-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}