ports/130862: [patch] devel/cmake doesn't detect Lua
Nikos Ntarmos
ntarmos at ceid.upatras.gr
Thu Jan 22 08:10:04 UTC 2009
>Number: 130862
>Category: ports
>Synopsis: [patch] devel/cmake doesn't detect Lua
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 22 08:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Nikos Ntarmos
>Release: FreeBSD 7.1-RELEASE-p2 i386
>Organization:
NetCInS Lab., C.E.I.D., U. of Patras, Greece
>Environment:
System: FreeBSD ace.netcins.ceid.upatras.gr 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #1: Wed Jan 14 13:54:37 EET 2009 ntarmos at ace.netcins.ceid.upatras.gr:/opt/obj/opt/src/sys/ACE i386
>Description:
lang/lua50 and lang/lua51 install the corresponding libraries as
${PREFIX}/lib/liblua-5.0.so and ${PREFIX}/lib/liblua-5.1.so
respectively. However, devel/cmake searches for liblua5.0 and liblua5.1
(among other non-existent libraries).
>How-To-Repeat:
>Fix:
The following patch adds (patches to add) the above libraries to the
corresponding cmake FindLua5x modules. We should change either this or
the lua ports and I believe that this is the less intrusive change.
--- cmake-lua.diff begins here ---
--- files/patch-Modules_FindLua50.cmake.orig 2009-01-22 09:30:04.000000000 +0200
+++ files/patch-Modules_FindLua50.cmake 2009-01-22 09:28:56.000000000 +0200
@@ -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
--- files/patch-Modules_FindLua51.cmake.orig 2009-01-22 09:30:12.000000000 +0200
+++ files/patch-Modules_FindLua51.cmake 2009-01-22 09:29:00.000000000 +0200
@@ -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
--- cmake-lua.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list