summaryrefslogtreecommitdiff
path: root/astro/google-earth
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2009-01-24 21:00:09 +0000
committerJuergen Lock <nox@FreeBSD.org>2009-01-24 21:00:09 +0000
commit76a04a9f5b8e6cf6fbc2fb6d263eab6440a58273 (patch)
treeaa2bee8a27c411a94d86b5c655b55b899625267f /astro/google-earth
parente773ba107815ce06f36f4f88aa67f05b8f7cefeb (diff)
downloadfreebsd-ports-76a04a9f5b8e6cf6fbc2fb6d263eab6440a58273.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/Makefile2
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: