git: 861c3551afae - main - benchmarks/sysbench: Use USES=luajit (defaults to luajit-devel)

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Fri, 14 Oct 2022 20:15:37 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=861c3551afaea2b76d5b42321719ba80305270a6

commit 861c3551afaea2b76d5b42321719ba80305270a6
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-10-14 20:15:32 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-10-14 20:15:32 +0000

    benchmarks/sysbench: Use USES=luajit (defaults to luajit-devel)
---
 benchmarks/sysbench/Makefile | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/benchmarks/sysbench/Makefile b/benchmarks/sysbench/Makefile
index 76e1e1cd7be3..e0f230275ac1 100644
--- a/benchmarks/sysbench/Makefile
+++ b/benchmarks/sysbench/Makefile
@@ -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