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

(-)Makefile (-2 / +12 lines)
Lines 11-23 Link Here
11
MAINTAINER=	osa@FreeBSD.org
11
MAINTAINER=	osa@FreeBSD.org
12
COMMENT=	Just-In-Time Compiler for Lua
12
COMMENT=	Just-In-Time Compiler for Lua
13
13
14
OPTIONS_DEFINE=	PTHREAD
15
OPTIONS_DESC=	with pthread
16
17
ROKEN_powerpc64=	Not ported to powerpc64 upstream
18
14
WRKSRC=		${WRKDIR}/LuaJIT-${DISTVERSION}
19
WRKSRC=		${WRKDIR}/LuaJIT-${DISTVERSION}
15
USES=		gmake
20
USES=		gmake
16
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
17
MAKE_ARGS=	CC=${CC}
22
MAKE_ARGS=	CC=${CC}
18
23
24
.include <bsd.port.pre.mk>
25
26
.if ${PORT_OPTIONS:MPTHREAD}
27
	LDFLAGS+=	-lm -pthread
28
.endif
29
19
PLIST_SUB+=	VERSION=${DISTVERSION}
30
PLIST_SUB+=	VERSION=${DISTVERSION}
20
BROKEN_powerpc64=	Not ported to powerpc64 upstream
21
31
22
.include <bsd.port.options.mk>
32
.include <bsd.port.options.mk>
23
33
Lines 28-33 Link Here
28
post-install:
38
post-install:
29
	${LN} -sf ${PORTNAME}-${DISTVERSION} \
39
	${LN} -sf ${PORTNAME}-${DISTVERSION} \
30
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
40
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
31
	@${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
41
	${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
32
42
33
.include <bsd.port.mk>
43
.include <bsd.port.mk>

Return to bug 191476