diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2007-12-11 21:22:28 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2007-12-11 21:22:28 +0000 |
commit | 991043ebd03b41803ad9ce694582c45b86b0e8bb (patch) | |
tree | 9818f19269c3aebfddb7f2ce593af4ae0b635eba /misc | |
parent | 1093bbc2d14823bfb61491dae791a621a04ac276 (diff) | |
download | ports-991043ebd03b41803ad9ce694582c45b86b0e8bb.tar.gz ports-991043ebd03b41803ad9ce694582c45b86b0e8bb.zip |
Fix the creates bad mtree file when built as non-root that will ending up
the gnomehier in /usr/local/* will have the incorrect owner/group permission.
PR: ports/117976
Submitted by: Stefan Sperling <stsp@stsp.name>
Notes
Notes:
svn path=/head/; revision=203043
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gnomehier/Makefile | 4 |
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: |