benchmarks/sysbench: Use USES=luajit (defaults to luajit-devel)
This commit is contained in:
parent
fc9dbc8819
commit
861c3551af
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= sysbench
|
PORTNAME= sysbench
|
||||||
PORTVERSION= 1.0.20
|
PORTVERSION= 1.0.20
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= benchmarks databases
|
CATEGORIES= benchmarks databases
|
||||||
|
|
||||||
MAINTAINER= sunpoet@FreeBSD.org
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
|
@ -11,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
LIB_DEPENDS= libck.so:devel/concurrencykit
|
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
|
CONFIGURE_ARGS= --with-system-ck --with-system-luajit
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -28,14 +29,6 @@ MYSQL_USES= mysql
|
||||||
PGSQL_CONFIGURE_WITH= pgsql
|
PGSQL_CONFIGURE_WITH= pgsql
|
||||||
PGSQL_USES= 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:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.am
|
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.am
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user