git: 465fea417988 - main - www/squid: Fix typo and use pkgconfig file instead

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sun, 10 Aug 2025 13:41:23 UTC
The branch main has been updated by cy:

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

commit 465fea41798874cc0b4dba158aee37341650ec4a
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-08-10 13:08:32 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-08-10 13:41:08 +0000

    www/squid: Fix typo and use pkgconfig file instead
    
    Fixes:          66b818ff501f
---
 www/squid/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/squid/Makefile b/www/squid/Makefile
index 5e4b45f12be3..9a443436984c 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -151,7 +151,7 @@ FS_ROCK_VARS=			STORAGE_SCHEMES+=rock
 GSSAPI_BASE_USES=		gssapi
 GSSAPI_BASE_CONFIGURE_ON=	${GSSAPI_CONFIGURE_ARGS} \
 				krb5_config=${GSSAPIBASEDIR}/bin/krb5-config
-.if exits(/usr/libexec/krb5kdc)
+.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
 GSSAPI_BASE_CONFIGURE_ON+=	--with-mit-krb5=${GSSAPIBASEDIR}
 .else
 GSSAPI_BASE_CONFIGURE_ON+=	--with-heimdal-krb5=${GSSAPIBASEDIR}