aboutsummaryrefslogtreecommitdiff
path: root/databases/unixODBC
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2006-11-07 15:27:36 +0000
committerMax Khon <fjoe@FreeBSD.org>2006-11-07 15:27:36 +0000
commit0f9d45de7306a169c1625c18f79edc932ba46066 (patch)
tree3f3dd894219593b88dc827025bdade6c5ce5824c /databases/unixODBC
parentfdf2b375d59613ec914461245ed0739998cdb7e1 (diff)
downloadports-0f9d45de7306a169c1625c18f79edc932ba46066.tar.gz
ports-0f9d45de7306a169c1625c18f79edc932ba46066.zip
Do not call ${CHOWN} if INSTALL_AS_USER is set.
Notes
Notes: svn path=/head/; revision=176712
Diffstat (limited to 'databases/unixODBC')
-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>