Put back the CHMOD in an OSVERSION check, move the rest to pre-patch.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-12-02 08:56:15 +00:00
parent c67cb29943
commit 01efbb3c62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427545

View file

@ -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>