Skip to content

Commit

Permalink
benchmarks/sysbench: Use USES=luajit (defaults to luajit-devel)
Browse files Browse the repository at this point in the history
  • Loading branch information
assistcontrol committed Oct 14, 2022
1 parent fc9dbc8 commit 861c355
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions benchmarks/sysbench/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sysbench
PORTVERSION= 1.0.20
PORTREVISION= 1
CATEGORIES= benchmarks databases

MAINTAINER= sunpoet@FreeBSD.org
Expand All @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 861c355

Please sign in to comment.