diff options
author | bapt <bapt@FreeBSD.org> | 2013-09-24 21:40:09 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-09-24 21:40:09 +0800 |
commit | 962bcb732fca739bb4bf7091cdd0e279ced083ef (patch) | |
tree | e2fc30e2a02506a85e8743ded5abc4e8aa2ad997 /Mk | |
parent | 9e871481868f02171592f4b84d2fa5fcccca0315 (diff) | |
download | freebsd-ports-graphics-962bcb732fca739bb4bf7091cdd0e279ced083ef.tar.gz freebsd-ports-graphics-962bcb732fca739bb4bf7091cdd0e279ced083ef.tar.zst freebsd-ports-graphics-962bcb732fca739bb4bf7091cdd0e279ced083ef.zip |
Only make the pkg-plist start with @owner and @group if root is not needed
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 40e65e844fb..cced6bce6b7 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} |