diff options
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/simplegroupware/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/deskutils/simplegroupware/Makefile b/deskutils/simplegroupware/Makefile index c19c9bb9470e..73d639e30f2b 100644 --- a/deskutils/simplegroupware/Makefile +++ b/deskutils/simplegroupware/Makefile @@ -20,11 +20,17 @@ SUB_FILES= pkg-message SHAREOWN= ${WWWOWN} SHAREGRP= ${WWWGRP} -post-extract: - @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \; - do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1100077 +# chmod -R bug. +# Do not use "-exec ... +", because of the same bug, it will not work. +post-extract: + @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \; +.endif + +.include <bsd.port.post.mk> |