diff options
author | nox <nox@FreeBSD.org> | 2009-01-25 05:00:09 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2009-01-25 05:00:09 +0800 |
commit | 401c1fb640c531817185c13716b3e4bb1591ef82 (patch) | |
tree | 045d985099a250bb6291fa4dcbc4ad79986a49c4 /astro/google-earth | |
parent | 9163fd0126c2c2292ce7741ace8b12641d6e4573 (diff) | |
download | freebsd-ports-gnome-401c1fb640c531817185c13716b3e4bb1591ef82.tar.gz freebsd-ports-gnome-401c1fb640c531817185c13716b3e4bb1591ef82.tar.zst freebsd-ports-gnome-401c1fb640c531817185c13716b3e4bb1591ef82.zip |
Fix non-root build by moving the chown to a pre-su-install target
Submitted by: lx
Diffstat (limited to 'astro/google-earth')
-rw-r--r-- | astro/google-earth/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/astro/google-earth/Makefile b/astro/google-earth/Makefile index 7edc3dcb45e8..f5d26f7ff878 100644 --- a/astro/google-earth/Makefile +++ b/astro/google-earth/Makefile @@ -56,6 +56,8 @@ do-patch: do-build: @${SETENV} SETUP_INSTALLPATH=${DATADIR} ${WRKSRC}/postinstall.sh @cd ${WRKSRC} && ${RM} -rf setup.* preuninstall.sh postinstall.sh + +pre-su-install: @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC} do-install: |