svn commit: r411880 - head/devel/llvm38

Brooks Davis brooks at FreeBSD.org
Fri Mar 25 18:18:06 UTC 2016


Author: brooks
Date: Fri Mar 25 18:18:05 2016
New Revision: 411880
URL: https://svnweb.freebsd.org/changeset/ports/411880

Log:
  Fix a plist issue without DOCS.
  
  Reported by:	marino

Modified:
  head/devel/llvm38/Makefile

Modified: head/devel/llvm38/Makefile
==============================================================================
--- head/devel/llvm38/Makefile	Fri Mar 25 17:50:37 2016	(r411879)
+++ head/devel/llvm38/Makefile	Fri Mar 25 18:18:05 2016	(r411880)
@@ -263,6 +263,13 @@ post-install-DOCS-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/
 
+.if ${PORT_OPTIONS:MCLANG}
+post-install-DOCS-off:
+	${RM} -f ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1
+	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/
+	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/
+.endif
+
 post-install-LLDB-on:
 .if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib


More information about the svn-ports-all mailing list