aboutsummaryrefslogtreecommitdiff
path: root/devel/cmake
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-01-22 18:01:33 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-01-22 18:01:33 +0000
commit5f5f5ff941c1cf0532bec100ca94e6a108c24be3 (patch)
treebf44d1386049527d8f006b384d2ed1296cc16695 /devel/cmake
parent28eb7f1d1c398c2ed730309f2206638c48cd13bb (diff)
downloadports-5f5f5ff941c1cf0532bec100ca94e6a108c24be3.tar.gz
ports-5f5f5ff941c1cf0532bec100ca94e6a108c24be3.zip
Notes
Diffstat (limited to 'devel/cmake')
-rw-r--r--devel/cmake/Makefile2
-rw-r--r--devel/cmake/files/patch-Modules_FindLua50.cmake11
-rw-r--r--devel/cmake/files/patch-Modules_FindLua51.cmake11
3 files changed, 23 insertions, 1 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index 57cff5cbbf7d..691dc4e0657f 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cmake
PORTVERSION= 2.6.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.cmake.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/ \
${MASTER_SITE_LOCAL}
diff --git a/devel/cmake/files/patch-Modules_FindLua50.cmake b/devel/cmake/files/patch-Modules_FindLua50.cmake
new file mode 100644
index 000000000000..557a1694123f
--- /dev/null
+++ b/devel/cmake/files/patch-Modules_FindLua50.cmake
@@ -0,0 +1,11 @@
+--- Modules/FindLua50.cmake.orig 2008-08-01 18:34:50.000000000 +0300
++++ Modules/FindLua50.cmake 2009-01-22 09:26:29.000000000 +0200
+@@ -28,7 +28,7 @@
+ )
+
+ FIND_LIBRARY(LUA_LIBRARY_lua
+- NAMES lua50 lua5.0 lua5 lua
++ NAMES lua50 lua5.0 lua-5.0 lua5 lua
+ HINTS
+ $ENV{LUA_DIR}
+ PATH_SUFFIXES lib64 lib
diff --git a/devel/cmake/files/patch-Modules_FindLua51.cmake b/devel/cmake/files/patch-Modules_FindLua51.cmake
new file mode 100644
index 000000000000..5b44295e4b4c
--- /dev/null
+++ b/devel/cmake/files/patch-Modules_FindLua51.cmake
@@ -0,0 +1,11 @@
+--- Modules/FindLua51.cmake.orig 2008-08-01 18:34:50.000000000 +0300
++++ Modules/FindLua51.cmake 2009-01-22 09:26:29.000000000 +0200
+@@ -28,7 +28,7 @@
+ )
+
+ FIND_LIBRARY(LUA_LIBRARY
+- NAMES lua51 lua5.1 lua
++ NAMES lua51 lua5.1 lua-5.1 lua
+ HINTS
+ $ENV{LUA_DIR}
+ PATH_SUFFIXES lib64 lib