summaryrefslogtreecommitdiff
path: root/dev-util/cmake/files/cmake-2.8.3-ruby_libname.patch
diff options
context:
space:
mode:
authorJohannes Huber <johu@gmx.de>2011-07-11 07:47:34 +0200
committerJohannes Huber <johu@gmx.de>2011-07-11 17:08:49 +0200
commit1010127c1205112376c2e788ddd46310a03667b5 (patch)
tree5c5f38f90006dcc5950f1d9e36dd33bef2b5b06e /dev-util/cmake/files/cmake-2.8.3-ruby_libname.patch
parent10ed259b620254d4bc662f5c3f4d66e09518f4e6 (diff)
downloadkde-1010127c1205112376c2e788ddd46310a03667b5.tar.gz
kde-1010127c1205112376c2e788ddd46310a03667b5.tar.bz2
kde-1010127c1205112376c2e788ddd46310a03667b5.zip
[dev-util/cmake] Bump 2.8.5
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.3-ruby_libname.patch')
-rw-r--r--dev-util/cmake/files/cmake-2.8.3-ruby_libname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.3-ruby_libname.patch b/dev-util/cmake/files/cmake-2.8.3-ruby_libname.patch
new file mode 100644
index 00000000000..45d2b162c5b
--- /dev/null
+++ b/dev-util/cmake/files/cmake-2.8.3-ruby_libname.patch
@@ -0,0 +1,12 @@
+diff -urN cmake-2.8.3.orig//Modules/FindRuby.cmake cmake-2.8.3//Modules/FindRuby.cmake
+--- cmake-2.8.3.orig//Modules/FindRuby.cmake 2010-12-25 16:56:42.597163498 +0100
++++ cmake-2.8.3//Modules/FindRuby.cmake 2010-12-25 16:57:55.207163499 +0100
+@@ -180,7 +180,7 @@
+
+
+ # Determine the list of possible names for the ruby library
+-SET(_RUBY_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_RUBY_VERSION_SHORT})
++SET(_RUBY_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_RUBY_VERSION_SHORT} ruby${_RUBY_VERSION_SHORT_NODOT})
+
+ IF(WIN32)
+ SET( _RUBY_MSVC_RUNTIME "" )