benchmarks/sysbench: Use USES=luajit (defaults to luajit-devel)

This commit is contained in:
Adam Weinberger 2022-10-14 14:15:32 -06:00
parent fc9dbc8819
commit 861c3551af
1 changed files with 2 additions and 9 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= sysbench
PORTVERSION= 1.0.20
PORTREVISION= 1
CATEGORIES= benchmarks databases
MAINTAINER= sunpoet@FreeBSD.org
@ -11,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libck.so:devel/concurrencykit
USES= autoreconf compiler:c11 gmake libtool pkgconfig
USES= autoreconf compiler:c11 gmake libtool luajit pkgconfig
CONFIGURE_ARGS= --with-system-ck --with-system-luajit
GNU_CONFIGURE= yes
@ -28,14 +29,6 @@ MYSQL_USES= mysql
PGSQL_CONFIGURE_WITH= pgsql
PGSQL_USES= pgsql
.include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc64*}
LIB_DEPENDS+= libluajit-5.1.so:lang/luajit-openresty
.else
LIB_DEPENDS+= libluajit-5.1.so:lang/luajit
.endif
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.am