aboutsummaryrefslogtreecommitdiff
path: root/lang/lua53
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2019-03-21 16:26:39 +0000
committerDavid Naylor <dbn@FreeBSD.org>2019-03-21 16:26:39 +0000
commit17dd58ca60f50ebaa28bf3c6e660d79f936e877e (patch)
tree5b02546447160c4cdc32e5e22f7f2b151b9de4d0 /lang/lua53
parent44c345f78409ce946613c64e44c636e871fa01da (diff)
downloadports-17dd58ca60f50ebaa28bf3c6e660d79f936e877e.tar.gz
ports-17dd58ca60f50ebaa28bf3c6e660d79f936e877e.zip
lang/lua: workaround dlopen/libthr bug on FreeBSD 12
Submitted by: Russel Haley <russ.haley@gmail.com> Differential Revision: https://reviews.freebsd.org/D18939
Notes
Notes: svn path=/head/; revision=496471
Diffstat (limited to 'lang/lua53')
-rw-r--r--lang/lua53/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/lua53/Makefile b/lang/lua53/Makefile
index 957aa3a34aa1..e0598195ff01 100644
--- a/lang/lua53/Makefile
+++ b/lang/lua53/Makefile
@@ -3,6 +3,7 @@
PORTNAME= lua
DISTVERSION= 5.3.5
+PORTREVISION=1
CATEGORIES= lang
MASTER_SITES= https://www.lua.org/ftp/
PKGNAMESUFFIX= 53
@@ -102,6 +103,9 @@ READLINE_LIBS= -lreadline
# end of option vars
CFLAGS+= -fPIC
+# 2019-01-25: -pthread in LIBS is a work around for the following bug:
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235211
+LIBS+= -pthread
WITHOUT_NO_STRICT_ALIASING=yes