aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-11-03 06:45:14 +0800
committermat <mat@FreeBSD.org>2016-11-03 06:45:14 +0800
commitd9ec328e16b795889ee8d72196228f00a0a3393a (patch)
treeadf234bd1f2e56ae130e9960e1467b64c9fa0ed6 /deskutils
parent759b32261f3c119f1062868d580795d19060e71b (diff)
downloadfreebsd-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/Makefile14
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>