svn commit: r556793 - head/sysutils/fluent-bit

Piotr Kubaj pkubaj at FreeBSD.org
Tue Dec 1 21:32:52 UTC 2020


Author: pkubaj
Date: Tue Dec  1 21:32:51 2020
New Revision: 556793
URL: https://svnweb.freebsd.org/changeset/ports/556793

Log:
  sysutils/fluent-bit: fix build on powerpc64
  
  luajit is not supported on powerpc64 and there doesn't seem to be a way to use one from ports.
  
  MFH:		2020Q4

Modified:
  head/sysutils/fluent-bit/Makefile

Modified: head/sysutils/fluent-bit/Makefile
==============================================================================
--- head/sysutils/fluent-bit/Makefile	Tue Dec  1 20:51:55 2020	(r556792)
+++ head/sysutils/fluent-bit/Makefile	Tue Dec  1 21:32:51 2020	(r556793)
@@ -16,9 +16,8 @@ GH_ACCOUNT=	fluent
 
 BROKEN_mips=		fails to build: conflicting types for 'restrict'
 BROKEN_mips64=		fails to build: conflicting types for 'restrict'
-BROKEN_powerpc64=	fails to build: cast from pointer to integer of different size
 
-USES=		cmake:noninja gmake bison compiler
+USES=		cmake:noninja compiler:c11 gmake bison compiler
 
 OPTIONS_DEFINE=		SSL PGSQL
 OPTIONS_DEFAULT=	SSL
@@ -42,6 +41,10 @@ USE_RC_SUBR=	${PORTNAME}
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000
 EXTRA_PATCHES=	${PATCHDIR}/extra-patch-lib_luajit__src__lj_prng.c
+.endif
+
+.if ${ARCH} == powerpc64
+CMAKE_ARGS+=	-DFLB_LUAJIT:BOOL=OFF
 .endif
 
 post-install:


More information about the svn-ports-head mailing list