git: b357fc278748 - main - www/squid: fix build with TDB enabled

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Wed, 05 Feb 2025 06:39:47 UTC
The branch main has been updated by yasu:

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

commit b357fc2787483896354af0635d24887d8d0dc277
Author:     Pavel Timofeev <timp87@gmail.com>
AuthorDate: 2025-02-04 23:00:19 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2025-02-05 06:39:02 +0000

    www/squid: fix build with TDB enabled
    
    PR:             284532
---
 www/squid/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/squid/Makefile b/www/squid/Makefile
index b1f73dcf6c8f..4d20dfeb86b2 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	squid
 DISTVERSION=	6.12
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www2.pl.squid-cache.org/Versions/v6/ \
 		http://www1.il.squid-cache.org/Versions/v6/ \
@@ -194,6 +195,7 @@ STACKTRACES_LDFLAGS=		-lunwind
 STACKTRACES_EXTRA_PATCHES=	${FILESDIR}/extra-patch-gen-stacktrace
 STACKTRACES_VARS=		STRIP=""
 TDB_LIB_DEPENDS=		libtdb.so:databases/tdb
+TDB_USES=			pkgconfig:build
 TDB_CONFIGURE_WITH=		tdb
 TDB_VARS=			EXTERNAL_ACL+="time_quota session"
 TP_IPFW_CONFIGURE_ENABLE=	ipfw-transparent