View | Details | Raw Unified | Return to bug 181052
Collapse All | Expand All

(-)lua/Makefile (-1 / +1 lines)
Lines 33-39 Link Here
33
MAKE_ARGS=	__MAKE_CONF=${NONEXISTENT}
33
MAKE_ARGS=	__MAKE_CONF=${NONEXISTENT}
34
# liblua.so requires libm, so make sure it has an explicit dependency
34
# liblua.so requires libm, so make sure it has an explicit dependency
35
# so that applications need not second-guess lua's dependencies.
35
# so that applications need not second-guess lua's dependencies.
36
LDFLAGS+=	-lm
36
LDFLAGS+=	-lm -pthread
37
37
38
MAN1=		lua-${LUA_VER}.1 luac-${LUA_VER}.1
38
MAN1=		lua-${LUA_VER}.1 luac-${LUA_VER}.1
39
DOCSDIR=	${PREFIX}/share/doc/${LUA_SUBDIR}
39
DOCSDIR=	${PREFIX}/share/doc/${LUA_SUBDIR}
(-)lua/files/patch-src-Makefile (-4 / +8 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	2008-01-19 17:37:58.000000000 -0200
1
--- Makefile.orig	2012-02-13 22:41:22.000000000 +0200
2
+++ Makefile	2008-08-10 16:00:41.000000000 -0300
2
+++ Makefile	2013-08-05 15:56:32.000000000 +0300
3
@@ -9,7 +9,8 @@
3
@@ -9,10 +9,11 @@
4
 
4
 
5
 CC= gcc
5
 CC= gcc
6
 CFLAGS= -O2 -Wall $(MYCFLAGS)
6
 CFLAGS= -O2 -Wall $(MYCFLAGS)
Lines 9-15 Link Here
9
+AR= ar
9
+AR= ar
10
 RANLIB= ranlib
10
 RANLIB= ranlib
11
 RM= rm -f
11
 RM= rm -f
12
 LIBS= -lm $(MYLIBS)
12
-LIBS= -lm $(MYLIBS)
13
+LIBS= -lm -pthread $(MYLIBS)
14
 
15
 MYCFLAGS=
16
 MYLDFLAGS=
13
@@ -31,12 +32,13 @@
17
@@ -31,12 +32,13 @@
14
 
18
 
15
 LUA_T=	lua
19
 LUA_T=	lua

Return to bug 181052