Patch2: %{name}-helpers.patch
Patch3: %{name}-findruby.patch
Patch4: %{name}-findruby2.patch
+Patch5: man-syntax.patch
URL: http://www.cmake.org/
%{?with_gui:BuildRequires: QtGui-devel}
BuildRequires: jsoncpp-devel >= 1.6.2-2
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
cat > "init.cmake" <<EOF
SET (CURSES_INCLUDE_PATH "/usr/include/ncurses" CACHE PATH " " FORCE)
--- /dev/null
+--- cmake-3.4.3/Help/prop_tgt/ANDROID_NATIVE_LIB_DIRECTORIES.rst~ 2016-01-25 17:57:19.000000000 +0100
++++ cmake-3.4.3/Help/prop_tgt/ANDROID_NATIVE_LIB_DIRECTORIES.rst 2016-02-27 17:06:46.607202361 +0100
+@@ -1,8 +1,8 @@
+ ANDROID_NATIVE_LIB_DIRECTORIES
+ ------------------------------
+
+-Set the Android property that specifies directories to search for the
+-.so libraries.
++Set the Android property that specifies directories to search for the .so
++libraries.
+
+ This a string property that contains the directory paths separated
+ by semicolons.