summaryrefslogtreecommitdiff
path: root/lang/lua52
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2013-08-05 20:37:35 +0000
committerMatthias Andree <mandree@FreeBSD.org>2013-08-05 20:37:35 +0000
commit03b1cffca762aa2a121124730b69506209007236 (patch)
treedb46da53bf3bd2a89397b2d274a295934b62750e /lang/lua52
parent- Update to 0.2.2.1318 (diff)
Link lua .so + program with pthread to prevent hangs in extensions that
use pthreads. Bump PORTREVISION to pull this in. PR: ports/181052 Submitted by: Vitaly Magerya <vmagerya@gmail.com> Approved by: mandree@ on behalf of lua@
Notes
Notes: svn path=/head/; revision=324286
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 519cda30bca9..a8d4ed9d2832 100644
--- a/lang/lua52/Makefile
+++ b/lang/lua52/Makefile
@@ -3,6 +3,7 @@
PORTNAME= lua
PORTVERSION= 5.2.2
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.lua.org/ftp/
@@ -30,7 +31,7 @@ MAKE_ENV= LUA_SONAME="liblua-${LUA_VER}.so.${LUA_VER_SH}" \
MYCFLAGS="${CFLAGS}" MYLDFLAGS="${LDFLAGS}"
# liblua.so requires libm, so make sure it has an explicit dependency
# so that applications need not second-guess lua's dependencies.
-LDFLAGS+= -lm
+LDFLAGS+= -lm -pthread
MAN1= lua-${LUA_VER}.1 luac-${LUA_VER}.1
DOCSDIR= ${PREFIX}/share/doc/${LUA_SUBDIR}