summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2014-05-20 19:14:06 +0000
committernox <nox@FreeBSD.org>2014-05-20 19:14:06 +0000
commit567475182ca474114f62facdc3dacb72487b9ab3 (patch)
tree90616a7bfda0e25f124a24aedc0ad1f618a52ef1
parent39d55d6384f083c14d428e917453c2dcff7d4ea9 (diff)
downloadFreeBSD-ports-567475182ca474114f62facdc3dacb72487b9ab3.zip
FreeBSD-ports-567475182ca474114f62facdc3dacb72487b9ab3.tar.gz
Seems pre-su-install breaks building as user now - in this case we only
need it with pkg_* so add a WITH_PKGNG check.
-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 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}
OpenPOWER on IntegriCloud