From 567475182ca474114f62facdc3dacb72487b9ab3 Mon Sep 17 00:00:00 2001 From: nox Date: Tue, 20 May 2014 19:14:06 +0000 Subject: Seems pre-su-install breaks building as user now - in this case we only need it with pkg_* so add a WITH_PKGNG check. --- astro/google-earth/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/astro/google-earth/Makefile b/astro/google-earth/Makefile index b442129..fea40c7 100644 --- a/astro/google-earth/Makefile +++ b/astro/google-earth/Makefile @@ -62,8 +62,10 @@ do-build: @cd ${WRKSRC} && ${RM} -rf setup.* preuninstall.sh postinstall.sh \ bin/googleearth.orig +.if !defined(WITH_PKGNG) pre-su-install: @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC} +.endif do-install: ${MKDIR} ${STAGEDIR}${DATADIR} -- cgit v1.1