svn commit: r549672 - head/benchmarks/sysbench
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Sep 23 08:56:17 UTC 2020
Author: pkubaj
Date: Wed Sep 23 08:56:16 2020
New Revision: 549672
URL: https://svnweb.freebsd.org/changeset/ports/549672
Log:
benchmarks/sysbench: fix build on powerpc64
On powerpc64 use luajit-openresty, while main luajit port doesn't work on powerpc64.
Modified:
head/benchmarks/sysbench/Makefile
Modified: head/benchmarks/sysbench/Makefile
==============================================================================
--- head/benchmarks/sysbench/Makefile Wed Sep 23 08:41:46 2020 (r549671)
+++ head/benchmarks/sysbench/Makefile Wed Sep 23 08:56:16 2020 (r549672)
@@ -11,10 +11,9 @@ COMMENT= Scriptable database and system performance be
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libck.so:devel/concurrencykit \
- libluajit-5.1.so:lang/luajit
+LIB_DEPENDS= libck.so:devel/concurrencykit
-USES= autoreconf gmake libtool pkgconfig
+USES= autoreconf compiler:c11 gmake libtool pkgconfig
CONFIGURE_ARGS= --with-system-ck --with-system-luajit
GNU_CONFIGURE= yes
@@ -30,6 +29,14 @@ MYSQL_CONFIGURE_WITH= mysql
MYSQL_USES= mysql
PGSQL_CONFIGURE_WITH= pgsql
PGSQL_USES= pgsql
+
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+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
More information about the svn-ports-head
mailing list