$OpenBSD: patch-ruby_CMakeLists_txt,v 1.2 2014/07/09 20:03:27 zhuk Exp $
--- ruby/CMakeLists.txt.orig	Sat Apr 12 14:21:47 2014
+++ ruby/CMakeLists.txt	Sat Jun 28 00:58:41 2014
@@ -1,11 +1,14 @@
 find_package(Ruby 1.9 QUIET)
+if(NOT RUBY_FOUND)
+	find_package(Ruby 2.0 QUIET)
+endif()
 
 if(RUBY_FOUND)
     message(STATUS "Found Ruby: ${RUBY_EXECUTABLE} (found version \"${RUBY_VERSION}\")")
 endif()
 
 macro_log_feature(RUBY_FOUND
-  "Ruby" "Ruby libraries" "http://www.ruby-lang.org" FALSE "1.9.x" "Needed to compile the Ruby bindings")
+  "Ruby" "Ruby libraries" "http://www.ruby-lang.org" FALSE "1.9.x or 2.0.x" "Needed to compile the Ruby bindings")
 
 set(krossruby_PART_SRCS
    rubyvariant.cpp
