git: 7a9b92c408f0 - main - sysutils/fluent-bit: fix build on powerpc
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jun 15 08:42:11 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7a9b92c408f03518c312d0b41c3b4a02e3070ce3
commit 7a9b92c408f03518c312d0b41c3b4a02e3070ce3
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-15 08:41:02 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-15 08:41:02 +0000
sysutils/fluent-bit: fix build on powerpc
gmake[5]: Entering directory '/wrkdirs/usr/ports/sysutils/fluent-bit/work/fluent-bit-1.7.8/lib/luajit-2.1.0-1e66d0f/src'
lj_arch.h:455:2: error: "Need at least GCC 4.3 or newer"
---
sysutils/fluent-bit/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile
index 22def34a72c4..f2c3e3c84812 100644
--- a/sysutils/fluent-bit/Makefile
+++ b/sysutils/fluent-bit/Makefile
@@ -17,7 +17,7 @@ BROKEN_riscv64= fails to build: No support for this architecture (yet)
USE_GITHUB= yes
GH_ACCOUNT= fluent
-USES= cmake:noninja compiler:c11 gmake bison
+USES= cmake:noninja gmake bison
OPTIONS_DEFINE= SSL PGSQL
OPTIONS_DEFAULT= SSL
@@ -46,6 +46,10 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-lib_luajit__src__lj_prng.c
.if ${ARCH:Mpowerpc64*}
CMAKE_ARGS+= -DFLB_LUAJIT:BOOL=OFF
+.elif ${ARCH} == powerpc
+USES+= compiler:gcc-c++11-lib
+.else
+USES+= compiler:c11
.endif
post-install:
More information about the dev-commits-ports-all
mailing list