From 76a04a9f5b8e6cf6fbc2fb6d263eab6440a58273 Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Sat, 24 Jan 2009 21:00:09 +0000 Subject: Fix non-root build by moving the chown to a pre-su-install target Submitted by: lx --- astro/google-earth/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'astro/google-earth') 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: -- cgit v1.2.3