git: 08c4cfb36246 - main - www/squid: Fix LDAP SASL NETTLE build options

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 02 Jan 2026 01:34:02 UTC
The branch main has been updated by vvd:

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

commit 08c4cfb362464459050ce750ca1584b64357ad84
Author:     Pavel Timofeev <timp87@gmail.com>
AuthorDate: 2026-01-02 01:30:29 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-02 01:30:29 +0000

    www/squid: Fix LDAP SASL NETTLE build options
    
    LDAP, SASL and NETTLE needs USES pkgconfig:build to be built.
    Since pkgconfig is required for build with several other options, move
    it to the general USES.
    
    PR:     292070
---
 www/squid/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www/squid/Makefile b/www/squid/Makefile
index 18cd0599123c..8c84abfc4281 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -12,7 +12,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		compiler:c++17-lang cpe gmake localbase:ldflags perl5 \
-		shebangfix tar:xz
+		pkgconfig shebangfix tar:xz
 CPE_VENDOR=	squid-cache
 USE_RC_SUBR=	squid
 
@@ -122,7 +122,6 @@ AUTH_SQL_VARS=			EXTERNAL_ACL+=SQL_session
 CACHE_DIGESTS_CONFIGURE_ENABLE=	cache-digests
 DELAY_POOLS_CONFIGURE_ENABLE=	delay-pools
 ECAP_LIB_DEPENDS=		libecap.so:www/libecap
-ECAP_USES=			pkgconfig:build
 ECAP_CONFIGURE_ENABLE=		ecap
 FOLLOW_XFF_CONFIGURE_ENABLE=	follow-x-forwarded-for
 FS_AUFS_CONFIGURE_WITH=		pthreads
@@ -183,7 +182,7 @@ STACKTRACES_LDFLAGS=		-lunwind
 STACKTRACES_EXTRA_PATCHES=	${FILESDIR}/extra-patch-gen-stacktrace
 STACKTRACES_VARS=		STRIP=""
 TDB_LIB_DEPENDS=		libtdb.so:${SAMBA_TDB_PORT}
-TDB_USES=			pkgconfig:build samba:env
+TDB_USES=			samba:env
 TDB_CONFIGURE_WITH=		tdb
 TDB_VARS=			EXTERNAL_ACL+="time_quota session"
 TP_IPFW_CONFIGURE_ENABLE=	ipfw-transparent