Set the soname of liblua, it helps ports using cmake to link against it

(otherwise they do not have the correct DT_NEEDED entry)

Approved by:	lua (bapt)
This commit is contained in:
Antoine Brodin 2014-01-17 20:52:01 +00:00
parent 028aa07c74
commit 22facbd4c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340106

View file

@ -3,7 +3,7 @@
PORTNAME= lua PORTNAME= lua
PORTVERSION= 5.2.3 PORTVERSION= 5.2.3
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= lang CATEGORIES= lang
MASTER_SITES= http://www.lua.org/ftp/ MASTER_SITES= http://www.lua.org/ftp/
PKGNAMESUFFIX= 52 PKGNAMESUFFIX= 52
@ -35,6 +35,7 @@ MAKE_ARGS+= MYCFLAGS="${CFLAGS} -DLUA_USE_LINUX" \
LUAC_T=luac52 \ LUAC_T=luac52 \
LUA_A=liblua-${LUA_VER}.a \ LUA_A=liblua-${LUA_VER}.a \
LUA_SO=liblua-${LUA_VER}.so \ LUA_SO=liblua-${LUA_VER}.so \
LUA_SONAME=liblua-${LUA_VER}.so \
TO_BIN="lua52 luac52" \ TO_BIN="lua52 luac52" \
TO_LIB="liblua-${LUA_VER}.a liblua-${LUA_VER}.so" \ TO_LIB="liblua-${LUA_VER}.a liblua-${LUA_VER}.so" \
INSTALL_TOP=${STAGEDIR}${PREFIX} \ INSTALL_TOP=${STAGEDIR}${PREFIX} \