aboutsummaryrefslogtreecommitdiff
path: root/databases/unixODBC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/unixODBC/Makefile')
-rw-r--r--databases/unixODBC/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile
index 468420c9851e..401709b04dfb 100644
--- a/databases/unixODBC/Makefile
+++ b/databases/unixODBC/Makefile
@@ -7,7 +7,7 @@
PORTNAME= unixODBC
PORTVERSION= 2.2.12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://www.unixodbc.org/
@@ -54,6 +54,8 @@ post-install:
| ${TAR} -C ${DOCSDIR} --unlink -xf -
.if !defined(INSTALL_AS_USER)
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+ ${FIND} ${DOCSDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
+ ${FIND} ${DOCSDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
.endif
.endif
.for conffile in odbc.ini odbcinst.ini