From 01efbb3c627863d20b303842e176c8f13e275afd Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 2 Dec 2016 08:56:15 +0000 Subject: Put back the CHMOD in an OSVERSION check, move the rest to pre-patch. Sponsored by: Absolight --- graphics/blender-doc/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'graphics') 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 + +.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 +.include -- cgit v1.2.3