aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-05-18 06:47:59 +0800
committermakc <makc@FreeBSD.org>2010-05-18 06:47:59 +0800
commitc3c15513d91758608726080b533ce98273e5c516 (patch)
tree49dcb275a877cbd3efe9646f350cfdad5037cdf8 /devel
parent0280bfaf25e1c6296791b896c7b9d1d396f27abd (diff)
downloadfreebsd-ports-gnome-c3c15513d91758608726080b533ce98273e5c516.tar.gz
freebsd-ports-gnome-c3c15513d91758608726080b533ce98273e5c516.tar.zst
freebsd-ports-gnome-c3c15513d91758608726080b533ce98273e5c516.zip
Fix FindRuby.cmake
PR: ports/146662 Submitted by: Roman Neuhauser <neuhauser at sigpipe.cz>
Diffstat (limited to 'devel')
-rw-r--r--devel/cmake/Makefile1
-rw-r--r--devel/cmake/files/patch-Modules_FindRuby.cmake13
2 files changed, 14 insertions, 0 deletions
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 "" )
+
+