mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
c78e3896a8
/usr/bin/ld is lld, until the issue can be addressed. PR: 214864 Approved by: portmgr (LLD_UNSAFE blanket) Sponsored by: The FreeBSD Foundation
37 lines
727 B
Makefile
37 lines
727 B
Makefile
# Created by: Sergey A. Osokin <osa@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wrk
|
|
PORTVERSION= 4.0.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= benchmarks www
|
|
|
|
MAINTAINER= osa@FreeBSD.org
|
|
COMMENT= Modern HTTP benchmarking tool
|
|
|
|
LICENSE= APACHE20
|
|
|
|
LIB_DEPENDS= libluajit-5.1.so:lang/luajit
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wg
|
|
|
|
USES= gmake ssl
|
|
LLD_UNSAFE= yes
|
|
CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH
|
|
MAKE_ENV+= WITH_OPENSSL=${OPENSSLBASE} WITH_LUAJIT=${LOCALBASE} VER=${PORTVERSION}
|
|
|
|
PLIST_FILES= bin/wrk
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# Port requires 64 bit atomics
|
|
.if ${ARCH} == i386 && empty(MACHINE_CPU:Mi586)
|
|
CFLAGS+= -march=i586
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|