Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2019 16:26:39 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496471 - head/lang/lua53
Message-ID:  <201903211626.x2LGQdJn054768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbn
Date: Thu Mar 21 16:26:39 2019
New Revision: 496471
URL: https://svnweb.freebsd.org/changeset/ports/496471

Log:
  lang/lua: workaround dlopen/libthr bug on FreeBSD 12
  
  Submitted by:	Russel Haley <russ.haley@gmail.com>
  Differential Revision:	https://reviews.freebsd.org/D18939

Modified:
  head/lang/lua53/Makefile

Modified: head/lang/lua53/Makefile
==============================================================================
--- head/lang/lua53/Makefile	Thu Mar 21 15:05:27 2019	(r496470)
+++ head/lang/lua53/Makefile	Thu Mar 21 16:26:39 2019	(r496471)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903211626.x2LGQdJn054768>