git: a716d946024c - 2026Q3 - Mk/bsd.gecko.mk: set BINDGEN_FLAGS to find dependencies

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:14:41 UTC
The branch 2026Q3 has been updated by cmt:

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

commit a716d946024ca61e14effe80c47cd0ace6a0e078
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2026-09-29 19:05:38 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2026-09-29 19:13:59 +0000

    Mk/bsd.gecko.mk: set BINDGEN_FLAGS to find dependencies
    
    cbindgen now needs to find ports' includes. This affects all gecko
    ports, so set this globally.
    
    (cherry picked from commit 6e755229254f6da532b424591e95237b6045b426)
---
 Mk/bsd.gecko.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 180161226b45..d57666f035ec 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -83,7 +83,8 @@ RUN_DEPENDS+=	${LOCALBASE}/lib/libpci.so:devel/libpci
 LIB_DEPENDS+=	libepoll-shim.so:devel/libepoll-shim
 MOZ_EXPORT+=	${CONFIGURE_ENV} \
 				PYTHON3="${PYTHON_CMD}" \
-				RUSTFLAGS="${RUSTFLAGS}"
+				RUSTFLAGS="${RUSTFLAGS}" \
+				BINDGEN_CFLAGS="-I${LOCALBASE}/include"
 MOZ_OPTIONS+=	--prefix="${PREFIX}"
 MOZ_MK_OPTIONS+=MOZ_OBJDIR="${BUILD_WRKSRC}"