1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Add patches for FindLua5* modules to fix detecting lua libs for cmake dependent ports.

PR:		ports/130862
Submitted by:	Nikos Ntarmos <ntarmos at ceid.upatras.gr>
Approved by:	miwi (implicit)
This commit is contained in:
Max Brazhnikov 2009-01-22 18:01:33 +00:00
parent 28eb7f1d1c
commit 5f5f5ff941
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226684
3 changed files with 23 additions and 1 deletions

View File

@ -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}

View File

@ -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

View File

@ -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