mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
sysutils/fluent-bit: Clean up the makefile
No functional changes intended. Approved by: portmgr blanket Sponsored by: trivago N.V. Sponsored by: Klara, Inc.
This commit is contained in:
parent
c22f1829dc
commit
6c9d670089
@ -9,25 +9,24 @@ WWW= https://fluentbit.io/
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
BROKEN_mips= fails to build: conflicting types for 'restrict'
|
||||
BROKEN_mips64= fails to build: conflicting types for 'restrict'
|
||||
BROKEN_mips= fails to build: conflicting types for 'restrict'
|
||||
BROKEN_mips64= fails to build: conflicting types for 'restrict'
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= fluent
|
||||
LIB_DEPENDS= libyaml.so:textproc/libyaml
|
||||
|
||||
USES= bison cmake:noninja compiler:c11 gmake localbase:ldflags
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= fluent
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= SSL PGSQL
|
||||
CMAKE_ARGS= -DFLB_DEBUG=Off \
|
||||
-DFLB_LUAJIT=Off \
|
||||
-DFLB_TRACE=Off
|
||||
LDFLAGS+= -lexecinfo
|
||||
|
||||
OPTIONS_DEFINE= PGSQL SSL
|
||||
OPTIONS_DEFAULT= SSL
|
||||
|
||||
LIB_DEPENDS= libyaml.so:textproc/libyaml
|
||||
LDFLAGS+= -lexecinfo
|
||||
CMAKE_ARGS= -DFLB_DEBUG=Off -DFLB_TRACE=Off -DFLB_LUAJIT=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
|
||||
|
||||
@ -35,11 +34,14 @@ PGSQL_USES= pgsql
|
||||
PGSQL_CMAKE_ON= -DFLB_OUT_PGSQL=On
|
||||
PGSQL_CMAKE_OFF= -DFLB_OUT_PGSQL=Off
|
||||
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
SSL_USES= ssl
|
||||
SSL_CMAKE_ON= -DFLB_TLS=On
|
||||
SSL_CMAKE_OFF= -DFLB_TLS=Off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400079 || (${OSVERSION} >= 1302505 && \
|
||||
${OSVERSION} < 1400000))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user