aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/blender-doc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/blender-doc/Makefile b/graphics/blender-doc/Makefile
index d49b49f2d324..b7267d33b5fb 100644
--- a/graphics/blender-doc/Makefile
+++ b/graphics/blender-doc/Makefile
@@ -17,8 +17,16 @@ NO_ARCH= yes
SUB_FILES= pkg-message
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1100077
post-extract:
+# chmod -R bug.
+# Do not use "-exec ... +", because of the same bug, it will not work.
@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
+.endif
+
+pre-patch:
@cd ${WRKSRC}/htmlI/PartAT/volumetrics/gfx/ && \
${RM} -r "Nuova cartella" "Nuova cartella (2)"
@@ -26,4 +34,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} "htmlI htmlII" ${STAGEDIR}${DOCSDIR}/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>