Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2016 08:56:15 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427545 - head/graphics/blender-doc
Message-ID:  <201612020856.uB28uFA7013949@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Dec  2 08:56:15 2016
New Revision: 427545
URL: https://svnweb.freebsd.org/changeset/ports/427545

Log:
  Put back the CHMOD in an OSVERSION check, move the rest to pre-patch.
  
  Sponsored by:	Absolight

Modified:
  head/graphics/blender-doc/Makefile   (contents, props changed)

Modified: head/graphics/blender-doc/Makefile
==============================================================================
--- head/graphics/blender-doc/Makefile	Fri Dec  2 08:10:20 2016	(r427544)
+++ head/graphics/blender-doc/Makefile	Fri Dec  2 08:56:15 2016	(r427545)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612020856.uB28uFA7013949>