svn commit: r469235 - head/devel/llvm60/files
Brooks Davis
brooks at FreeBSD.org
Sun May 6 16:00:02 UTC 2018
Author: brooks
Date: Sun May 6 16:00:01 2018
New Revision: 469235
URL: https://svnweb.freebsd.org/changeset/ports/469235
Log:
Work around a race in sphinx.
Create the target directory before calling sphinx to render
content into it. Sphinx suffers from a race where it crashes with an
exception if it tries to make a directory and someone else does first.
PR: 227460
Reported by: ohartmann at walstatt.org
MFH: 2018Q2
Added:
head/devel/llvm60/files/patch-cmake_modules_AddSphinxTarget.cmake (contents, props changed)
Added: head/devel/llvm60/files/patch-cmake_modules_AddSphinxTarget.cmake
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/llvm60/files/patch-cmake_modules_AddSphinxTarget.cmake Sun May 6 16:00:01 2018 (r469235)
@@ -0,0 +1,11 @@
+--- cmake/modules/AddSphinxTarget.cmake.orig
++++ cmake/modules/AddSphinxTarget.cmake
+@@ -29,6 +29,8 @@
+ endif()
+
+ add_custom_target(${SPHINX_TARGET_NAME}
++ COMMAND ${CMAKE_COMMAND}
++ -E make_directory ${SPHINX_BUILD_DIR}
+ COMMAND ${SPHINX_EXECUTABLE}
+ -b ${builder}
+ -d "${SPHINX_DOC_TREE_DIR}"
More information about the svn-ports-all
mailing list