$OpenBSD: patch-bootstrap,v 1.7 2014/12/31 11:06:02 dcoppa Exp $

Use Ninja to build CMake
XXX: broken on arm and m88k

--- bootstrap.orig	Mon Dec 15 14:07:45 2014
+++ bootstrap	Thu Dec 18 05:37:12 2014
@@ -156,7 +156,11 @@ if ${cmake_system_mingw}; then
   cmake_bootstrap_generator="MSYS Makefiles"
 else
   # Bootstrapping from a standard UNIX prompt.
-  cmake_bootstrap_generator="Unix Makefiles"
+  if arch -s | egrep -q '^arm|^m88k'; then
+    cmake_bootstrap_generator="Unix Makefiles"
+  else
+    cmake_bootstrap_generator="Ninja"
+  fi
 fi
 
 # Choose tools and extensions for this platform.
