aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
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>