diff options
author | rene <rene@FreeBSD.org> | 2014-01-03 18:38:51 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2014-01-03 18:38:51 +0800 |
commit | b2143b8f8179ecba810622483b9ccbf9f0660545 (patch) | |
tree | b2e8bdb34e80de462e36904722df9739b0a671b8 /Mk | |
parent | a8f20f002fdc562224656861375b6fbd279e5c99 (diff) | |
download | freebsd-ports-graphics-b2143b8f8179ecba810622483b9ccbf9f0660545.tar.gz freebsd-ports-graphics-b2143b8f8179ecba810622483b9ccbf9f0660545.tar.zst freebsd-ports-graphics-b2143b8f8179ecba810622483b9ccbf9f0660545.zip |
Ensure correct ownership of the licenses directory to avoid "leftovers" [1]
from that ports that modify the user/group.
[1] https://qat.redports.org/~rene@FreeBSD.org/20131227145600-2109-244247/boinc-setiathome-v7-7.00_2.log
Approved by: portmgr (bapt)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.licenses.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.licenses.mk b/Mk/bsd.licenses.mk index 67e202cda01..d1e19812ac3 100644 --- a/Mk/bsd.licenses.mk +++ b/Mk/bsd.licenses.mk @@ -760,6 +760,8 @@ install-license: . endfor .endif # XXX @dirrmtry entry must be here (no way to do with PLIST_* vars) + @${ECHO_CMD} "@owner root" >> ${TMPPLIST} + @${ECHO_CMD} "@group wheel" >> ${TMPPLIST} @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST} @${ECHO_CMD} "@dirrm ${_LICENSE_DIR_REL}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/share/licenses 2>/dev/null || true" >> ${TMPPLIST} |