mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
textproc/libucl: Fix builds with multiple lua versions installed
The LUA_{LIB,INC}DIR variables point to the default Lua version specified in ports (in this case 5.2) or by the user. When multiple versions of Lua are installed (in this case 5.2 and 5.3), libucl's ./configure auto-detects Lua 5.3 (or perhaps the latest version available), which is a mismatch against those in the provided include/library paths: checking for a Lua interpreter with version >= 5.1... lua53 <-- detected checking for lua53... /usr/local/bin/lua53 checking for lua53 version... 5.3 ... checking for Lua header version... 5.2 <-- Passed by LUA_INCDIR checking if Lua header version matches 5.3... no This change explicitly specifies the version of the Lua interpreter we want to use, which appears to sufficienty influence the behaviour of the ./configure macros. PR: 209887 Reported by: olgeni MFH: 2016Q2
This commit is contained in:
parent
0cbb13b616
commit
38a31b30c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417823
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ URLS_DESC= Enable fetching URLs
|
||||||
UTILS_DESC= Enable tools: ucl_chargen, ucl_ucldump, ucl_tool
|
UTILS_DESC= Enable tools: ucl_chargen, ucl_ucldump, ucl_tool
|
||||||
|
|
||||||
LUA_CONFIGURE_ENABLE= lua
|
LUA_CONFIGURE_ENABLE= lua
|
||||||
LUA_CPPFLAGS= -I${LUA_INCDIR}
|
LUA_CONFIGURE_ENV= LUA=${LOCALBASE}/bin/${LUA_CMD}
|
||||||
LUA_LDFLAGS= -L${LUA_LIBDIR}
|
LUA_LDFLAGS= -L${LUA_LIBDIR}
|
||||||
LUA_USES= lua
|
LUA_USES= lua
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue