summaryrefslogtreecommitdiff
path: root/astro
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
parentUpdate to 1.99.3 rc to make dri happy (diff)
Fix non-root build by moving the chown to a pre-su-install target
Submitted by: lx
Notes
Notes: svn path=/head/; revision=226811
Diffstat (limited to 'astro')
-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: