Fix the old FindLua51 module too.
This commit is contained in:
parent
4ef301dd98
commit
957583efb2
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.61 2012/07/12 15:36:20 dcoppa Exp $
|
||||
# $OpenBSD: Makefile,v 1.62 2012/07/12 16:26:13 dcoppa Exp $
|
||||
|
||||
VMEM_WARNING = Yes
|
||||
BROKEN-arm = build fails since move to gcc4
|
||||
@ -7,7 +7,7 @@ HOMEPAGE = http://www.cmake.org/
|
||||
CATEGORIES = devel
|
||||
COMMENT = portable build system
|
||||
DISTNAME = cmake-2.8.8
|
||||
REVISION = 8
|
||||
REVISION = 9
|
||||
MASTER_SITES = ${HOMEPAGE}files/v2.8/
|
||||
|
||||
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
||||
|
21
devel/cmake/patches/patch-Modules_FindLua51_cmake
Normal file
21
devel/cmake/patches/patch-Modules_FindLua51_cmake
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-Modules_FindLua51_cmake,v 1.1 2012/07/12 16:26:13 dcoppa Exp $
|
||||
--- Modules/FindLua51.cmake.orig Thu Jul 12 18:17:15 2012
|
||||
+++ Modules/FindLua51.cmake Thu Jul 12 18:23:12 2012
|
||||
@@ -28,7 +28,7 @@
|
||||
FIND_PATH(LUA_INCLUDE_DIR lua.h
|
||||
HINTS
|
||||
$ENV{LUA_DIR}
|
||||
- PATH_SUFFIXES include/lua51 include/lua5.1 include/lua include
|
||||
+ PATH_SUFFIXES include/lua-5.1 include/lua51 include/lua5.1 include/lua include
|
||||
PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
@@ -41,7 +41,7 @@ FIND_PATH(LUA_INCLUDE_DIR lua.h
|
||||
)
|
||||
|
||||
FIND_LIBRARY(LUA_LIBRARY
|
||||
- NAMES lua51 lua5.1 lua-5.1 lua
|
||||
+ NAMES lua5.1 lua51 lua-5.1 lua
|
||||
HINTS
|
||||
$ENV{LUA_DIR}
|
||||
PATH_SUFFIXES lib64 lib
|
Loading…
Reference in New Issue
Block a user