git: 9f0758550bcd - main - sysutils/fluent-bit: Restore libyaml dependency (unbreak)

From: Jimmy Olgeni <olgeni_at_FreeBSD.org>
Date: Mon, 07 Sep 2026 07:04:38 UTC
The branch main has been updated by olgeni:

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

commit 9f0758550bcddfd76594946d78544a8ae0daeb71
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2026-09-07 07:01:38 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2026-09-07 07:03:51 +0000

    sysutils/fluent-bit: Restore libyaml dependency (unbreak)
    
    The update to 5.1.2 replaced the libyaml LIB_DEPENDS entry with libzstd
    instead of adding it. FLB_CONFIG_YAML is still enabled by default, so
    the FLB_HAVE_LIBYAML configure test failed and the build stopped with
    "YAML development dependencies required for YAML configuration format
    handling".
    
    Both libraries are needed: the resulting binary links against
    libyaml-0.so.2 and libzstd.so.1.
---
 sysutils/fluent-bit/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile
index e293c8217421..2ec36c0d2457 100644
--- a/sysutils/fluent-bit/Makefile
+++ b/sysutils/fluent-bit/Makefile
@@ -9,7 +9,8 @@ WWW=		https://fluentbit.io/
 
 LICENSE=	APACHE20
 
-LIB_DEPENDS=	libzstd.so:archivers/zstd
+LIB_DEPENDS=	libyaml.so:textproc/libyaml \
+		libzstd.so:archivers/zstd
 
 USES=		bison cmake:noninja compiler:c11 gmake localbase:ldflags
 USE_GITHUB=	yes