aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2006-11-07 23:27:36 +0800
committerfjoe <fjoe@FreeBSD.org>2006-11-07 23:27:36 +0800
commit1196326a1dc93a971601e7fac5a8c67954434a4f (patch)
tree4f84137bc895dc98c286fdd8f3fa767e9abd993f /databases
parent3b880456b201e41670fda84485567eeafcb1ee72 (diff)
downloadfreebsd-ports-gnome-1196326a1dc93a971601e7fac5a8c67954434a4f.tar.gz
freebsd-ports-gnome-1196326a1dc93a971601e7fac5a8c67954434a4f.tar.zst
freebsd-ports-gnome-1196326a1dc93a971601e7fac5a8c67954434a4f.zip
Do not call ${CHOWN} if INSTALL_AS_USER is set.
Diffstat (limited to 'databases')
-rw-r--r--databases/unixODBC/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile
index ea3fd158126e..275a4a3d4af8 100644
--- a/databases/unixODBC/Makefile
+++ b/databases/unixODBC/Makefile
@@ -48,7 +48,9 @@ post-install:
@${MKDIR} ${DOCSDIR}
${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . \
| ${TAR} -C ${DOCSDIR} --unlink -xf -
+.if !defined(INSTALL_AS_USER)
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
+.endif
.include <bsd.port.mk>