forked from Lainports/freebsd-ports
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.
Previously cmake-ports that wanted to use ninja could set
CMAKE_NINJA=yes
now, ports that do not work with ninja can set
cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.
The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary
PR: 219629
PR: 213331
Exp-run by: antoine
Reviewed by: rakuco
Differential Revision: https://reviews.freebsd.org/D10748
28 lines
880 B
Makefile
28 lines
880 B
Makefile
# Created by: Palle Girgensohn <girgen@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fluent-bit
|
|
DISTVERSION= 0.11.6
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://fluentbit.io/releases/${DISTVERSION:R}/
|
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
|
COMMENT= Fast and lightweight data forwarder
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BROKEN_aarch64= fails to build: error: unknown type name thread_local
|
|
BROKEN_armv6= fails to configure: failure in cmake
|
|
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
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
post-stage:
|
|
@${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
|
|
@${MV} ${STAGEDIR}${ETCDIR}/parsers.conf ${STAGEDIR}${ETCDIR}/parsers.conf.sample
|
|
|
|
.include <bsd.port.mk>
|