aboutsummaryrefslogtreecommitdiffstats
path: root/lang/lua52
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-18 04:52:01 +0800
committerantoine <antoine@FreeBSD.org>2014-01-18 04:52:01 +0800
commite9abbbed3172a1fc417977f21b7492d2b13b8bbf (patch)
tree33b5cae4611f2c0c9352f8a9d66bc02187cb0574 /lang/lua52
parentee8b6051cdc3d62d74a6ca6d104fd8161bf4f65f (diff)
downloadfreebsd-ports-gnome-e9abbbed3172a1fc417977f21b7492d2b13b8bbf.tar.gz
freebsd-ports-gnome-e9abbbed3172a1fc417977f21b7492d2b13b8bbf.tar.zst
freebsd-ports-gnome-e9abbbed3172a1fc417977f21b7492d2b13b8bbf.zip
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)
Diffstat (limited to 'lang/lua52')
-rw-r--r--lang/lua52/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/lua52/Makefile b/lang/lua52/Makefile
index 3c6483bdf64c..88293e1909cb 100644
--- a/lang/lua52/Makefile
+++ b/lang/lua52/Makefile
@@ -3,7 +3,7 @@
PORTNAME= lua
PORTVERSION= 5.2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.lua.org/ftp/
PKGNAMESUFFIX= 52
@@ -35,6 +35,7 @@ MAKE_ARGS+= MYCFLAGS="${CFLAGS} -DLUA_USE_LINUX" \
LUAC_T=luac52 \
LUA_A=liblua-${LUA_VER}.a \
LUA_SO=liblua-${LUA_VER}.so \
+ LUA_SONAME=liblua-${LUA_VER}.so \
TO_BIN="lua52 luac52" \
TO_LIB="liblua-${LUA_VER}.a liblua-${LUA_VER}.so" \
INSTALL_TOP=${STAGEDIR}${PREFIX} \