summaryrefslogtreecommitdiff
path: root/ham/gnuradio-core/patches/patch-cmake_Modules_FindSphinx.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ham/gnuradio-core/patches/patch-cmake_Modules_FindSphinx.cmake')
-rw-r--r--ham/gnuradio-core/patches/patch-cmake_Modules_FindSphinx.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/ham/gnuradio-core/patches/patch-cmake_Modules_FindSphinx.cmake b/ham/gnuradio-core/patches/patch-cmake_Modules_FindSphinx.cmake
new file mode 100644
index 00000000000..4473cd6c75a
--- /dev/null
+++ b/ham/gnuradio-core/patches/patch-cmake_Modules_FindSphinx.cmake
@@ -0,0 +1,17 @@
+$NetBSD: patch-cmake_Modules_FindSphinx.cmake,v 1.1 2015/03/07 05:10:45 mef Exp $
+
+(Starting with gnuradio-3.7.6), cmake wants sphinx-build exact executable
+name. With SUBST_CLASSES.pyvers in Makefile.common, tell the name.
+(The problem without this fix is in gnuradio-doxygen).
+
+--- cmake/Modules/FindSphinx.cmake.orig 2013-05-02 08:57:50.000000000 +0900
++++ cmake/Modules/FindSphinx.cmake 2015-03-06 22:08:44.000000000 +0900
+@@ -19,7 +19,7 @@
+ # (To distribute this file outside of CMake, substitute the full
+ # License text for the above reference.)
+
+-find_program(SPHINX_EXECUTABLE NAMES sphinx-build
++find_program(SPHINX_EXECUTABLE NAMES sphinx-build@PYVERSSUFFIX@
+ HINTS
+ $ENV{SPHINX_DIR}
+ PATH_SUFFIXES bin