diff options
author | mezz <mezz@FreeBSD.org> | 2007-12-12 05:22:28 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2007-12-12 05:22:28 +0800 |
commit | 33025205f596fbe185b7e0f6b5a7c292f2a24fbb (patch) | |
tree | 56ea178238caec4b91e67a3fcce5b0c8973d44b1 /misc/gnomehier | |
parent | dc1b0ef9f22c04dafd33f993988e5cd73c51cf59 (diff) | |
download | freebsd-ports-gnome-33025205f596fbe185b7e0f6b5a7c292f2a24fbb.tar.gz freebsd-ports-gnome-33025205f596fbe185b7e0f6b5a7c292f2a24fbb.tar.zst freebsd-ports-gnome-33025205f596fbe185b7e0f6b5a7c292f2a24fbb.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>
Diffstat (limited to 'misc/gnomehier')
-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: |