View | Details | Raw Unified | Return to bug 251324 | Differences between
and this patch

Collapse All | Expand All

(-)benchmarks/wrk/Makefile (-3 / +12 lines)
Lines 10-29 Link Here
10
10
11
LICENSE=	APACHE20
11
LICENSE=	APACHE20
12
12
13
LIB_DEPENDS=	libluajit-5.1.so:lang/luajit
14
15
USE_GITHUB=	yes
13
USE_GITHUB=	yes
16
GH_ACCOUNT=	wg
14
GH_ACCOUNT=	wg
17
15
18
USES=		gmake ssl
16
USES=		gmake ssl
19
USE_CSTD=	c99
17
USE_CSTD=	c99
20
LLD_UNSAFE=	yes
18
LLD_UNSAFE=	yes
21
CFLAGS+=	-I${LOCALBASE}/include/luajit-2.0
22
MAKE_ENV+=	WITH_OPENSSL=${OPENSSLBASE} WITH_LUAJIT=${LOCALBASE} VER=${PORTVERSION}
19
MAKE_ENV+=	WITH_OPENSSL=${OPENSSLBASE} WITH_LUAJIT=${LOCALBASE} VER=${PORTVERSION}
23
20
24
PLIST_FILES=	bin/wrk
21
PLIST_FILES=	bin/wrk
25
22
26
.include <bsd.port.pre.mk>
23
.include <bsd.port.pre.mk>
24
25
.if "${ARCH}" == aarch64
26
LIB_DEPENDS=	libluajit-5.1.so:lang/luajit-openresty
27
.else
28
LIB_DEPENDS=	libluajit-5.1.so:lang/luajit
29
.endif
30
31
.if "${ARCH}" == aarch64
32
CFLAGS+=	-I${LOCALBASE}/include/luajit-2.1
33
.else
34
CFLAGS+=	-I${LOCALBASE}/include/luajit-2.0
35
.endif
27
36
28
# Port requires 64 bit atomics
37
# Port requires 64 bit atomics
29
.if ${ARCH} == i386 && empty(MACHINE_CPU:Mi586)
38
.if ${ARCH} == i386 && empty(MACHINE_CPU:Mi586)

Return to bug 251324