diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile index 2ef7fd9848d3..d9e5eef68540 100644 --- a/sysutils/fluent-bit/Makefile +++ b/sysutils/fluent-bit/Makefile @@ -1,56 +1,55 @@ # Created by: Palle Girgensohn PORTNAME= fluent-bit DISTVERSIONPREFIX= v DISTVERSION= 1.8.11 CATEGORIES= sysutils MAINTAINER= girgen@FreeBSD.org COMMENT= Fast and lightweight data forwarder LICENSE= APACHE20 BROKEN_mips= fails to build: conflicting types for 'restrict' BROKEN_mips64= fails to build: conflicting types for 'restrict' -BROKEN_riscv64= fails to build: No support for this architecture (yet) USE_GITHUB= yes GH_ACCOUNT= fluent USES= cmake:noninja gmake bison OPTIONS_DEFINE= SSL PGSQL OPTIONS_DEFAULT= SSL LDFLAGS= -lexecinfo CMAKE_ARGS= -DFLB_DEBUG=Off -DFLB_TRACE=Off SSL_USES= ssl SSL_CMAKE_ON= -DFLB_TLS=On SSL_CMAKE_OFF= -DFLB_TLS=Off EXAMPLES_CMAKE_ON= -DFLB_EXAMPLES=On EXAMPLES_CMAKE_OFF= -DFLB_EXAMPLES=Off PGSQL_USES= pgsql PGSQL_CMAKE_ON= -DFLB_OUT_PGSQL=On PGSQL_CMAKE_OFF= -DFLB_OUT_PGSQL=Off USE_RC_SUBR= ${PORTNAME} .include -.if ${ARCH:Mpowerpc64*} +.if ${ARCH:Mpowerpc64*} || ${ARCH:Mriscv64*} CMAKE_ARGS+= -DFLB_LUAJIT:BOOL=OFF .elif ${ARCH} == powerpc LDFLAGS+= -latomic USES+= compiler:gcc-c++11-lib .else USES+= compiler:c11 .endif post-install: ${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample ${MV} ${STAGEDIR}${ETCDIR}/parsers.conf ${STAGEDIR}${ETCDIR}/parsers.conf.sample .include