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 "" ) + +