diff options
author | mat <mat@FreeBSD.org> | 2016-11-03 06:45:14 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-11-03 06:45:14 +0800 |
commit | d9ec328e16b795889ee8d72196228f00a0a3393a (patch) | |
tree | adf234bd1f2e56ae130e9960e1467b64c9fa0ed6 /deskutils | |
parent | 759b32261f3c119f1062868d580795d19060e71b (diff) | |
download | freebsd-ports-graphics-d9ec328e16b795889ee8d72196228f00a0a3393a.tar.gz freebsd-ports-graphics-d9ec328e16b795889ee8d72196228f00a0a3393a.tar.zst freebsd-ports-graphics-d9ec328e16b795889ee8d72196228f00a0a3393a.zip |
Cleanup no longer needed CHMOD usage after r424898.
PR: 213743
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
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 c19c9bb9470..73d639e30f2 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> |