diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-12-02 08:56:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-12-02 08:56:15 +0000 |
commit | 01efbb3c627863d20b303842e176c8f13e275afd (patch) | |
tree | 2158f7f8a4fc442ee4f97c1cacb120c47ddf1dba | |
parent | c67cb29943f48e2482e7f3b167d28a828bce7a20 (diff) |
Put back the CHMOD in an OSVERSION check, move the rest to pre-patch.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=427545
-rw-r--r-- | graphics/blender-doc/Makefile | 10 |
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> |