From e68f8b429d271799ed2e41dc7345033844d13131 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Mon, 17 May 2010 22:47:59 +0000 Subject: [PATCH] Fix FindRuby.cmake PR: ports/146662 Submitted by: Roman Neuhauser --- devel/cmake/Makefile | 1 + devel/cmake/files/patch-Modules_FindRuby.cmake | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 devel/cmake/files/patch-Modules_FindRuby.cmake diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index f704c8edb563..6346317acf1e 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -7,6 +7,7 @@ PORTNAME= cmake PORTVERSION= 2.8.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.cmake.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/ diff --git a/devel/cmake/files/patch-Modules_FindRuby.cmake b/devel/cmake/files/patch-Modules_FindRuby.cmake new file mode 100644 index 000000000000..b38e2c350526 --- /dev/null +++ b/devel/cmake/files/patch-Modules_FindRuby.cmake @@ -0,0 +1,13 @@ +--- Modules/FindRuby.cmake.orig 2010-05-16 23:37:17.000000000 +0200 ++++ Modules/FindRuby.cmake 2010-05-16 23:37:30.000000000 +0200 +@@ -193,7 +193,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 "" ) + +