aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/gnomehier/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/gnomehier/Makefile b/misc/gnomehier/Makefile
index 2b96e5b7fd54..fa09914b9fd6 100644
--- a/misc/gnomehier/Makefile
+++ b/misc/gnomehier/Makefile
@@ -47,7 +47,9 @@ pre-su-install:
${CHGRP} games ${WRKSRC}/share/games
${CHMOD} g=rwXs ${WRKSRC}/share/games
cd ${WRKSRC} && \
- ${MTREE_CMD} -U -d -n -i -c -k "uname, gname, mode" \
+ ${MTREE_CMD} -U -d -n -i -c -k "uname, gname, mode" | \
+ ${SED} -e 's|uname=[A-Za-z0-9_]*|uname=root|' \
+ -e 's|gname=[A-Za-z0-9_]*|gname=wheel|' \
> ${WRKDIR}/${GNOME_MTREE}
do-install: