git: b2d116812fa4 - main - sysutils/fluent-bit: second attempt at fixing build problem

From: Palle Girgensohn <girgen_at_FreeBSD.org>
Date: Wed, 06 Jul 2022 06:51:10 UTC
The branch main has been updated by girgen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b2d116812fa4e62df20b7d34d0a6d8ec4503d36a

commit b2d116812fa4e62df20b7d34d0a6d8ec4503d36a
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2022-07-06 06:47:22 +0000
Commit:     Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2022-07-06 06:49:23 +0000

    sysutils/fluent-bit: second attempt at fixing build problem
    
    LDFLAGS's ${LOCALBASE}/lib was pulled in by the postgresql dependency,
    but that option is default off.
---
 sysutils/fluent-bit/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile
index 86fa57aabe5e..bff30a658015 100644
--- a/sysutils/fluent-bit/Makefile
+++ b/sysutils/fluent-bit/Makefile
@@ -22,7 +22,7 @@ OPTIONS_DEFINE=		SSL PGSQL
 OPTIONS_DEFAULT=	SSL
 
 LIB_DEPENDS=		libyaml.so:textproc/libyaml
-LDFLAGS+=		-lexecinfo
+LDFLAGS+=		-lexecinfo -L${LOCALBASE}/lib
 CMAKE_ARGS=		-DFLB_DEBUG=Off -DFLB_TRACE=Off
 CFLAGS+=		-I${LOCALBASE}/include