$OpenBSD: patch-Source_cmake_WebKitCommon_cmake,v 1.1 2016/04/19 06:05:36 ajacoutot Exp $
--- Source/cmake/WebKitCommon.cmake.orig	Sat Apr 16 13:40:00 2016
+++ Source/cmake/WebKitCommon.cmake	Sat Apr 16 13:40:41 2016
@@ -29,9 +29,9 @@ if (NOT HAS_RUN_WEBKIT_COMMON)
     # We cannot check for RUBY_FOUND because it is set only when the full package is installed and
     # the only thing we need is the interpreter. Unlike Python, cmake does not provide a macro
     # for finding only the Ruby interpreter.
-    find_package(Ruby 1.9)
-    if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS 1.9)
-        message(FATAL_ERROR "Ruby 1.9 or higher is required.")
+    find_package(Ruby ${MODRUBY_LIBREV})
+    if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS ${MODRUBY_LIBREV})
+        message(FATAL_ERROR "Ruby ${MODRUBY_LIBREV} or higher is required.")
     endif ()
 
     # -----------------------------------------------------------------------------
