git: d48c3917b3f8 - main - www/angie-module-auth-spnego: Fix build on FreeBSD 15.0+

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 14 Oct 2025 19:35:20 UTC
The branch main has been updated by vvd:

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

commit d48c3917b3f8cbfcf323857eb18a6cd94ba9df30
Author:     Sebastian Oswald <sko@rostwald.de>
AuthorDate: 2025-10-14 19:33:47 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-10-14 19:34:44 +0000

    www/angie-module-auth-spnego: Fix build on FreeBSD 15.0+
    
    Switch from USES=gssapi to USES=gssapi:mit.
    
    PR:     290194
    MFH:    2025Q4
---
 www/angie-module-auth-spnego/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/www/angie-module-auth-spnego/Makefile b/www/angie-module-auth-spnego/Makefile
index 65f9b25a66b5..ff16edb9069a 100644
--- a/www/angie-module-auth-spnego/Makefile
+++ b/www/angie-module-auth-spnego/Makefile
@@ -1,12 +1,17 @@
 PORTNAME=	angie-module-auth-spnego
+PORTREVISION=	1
 GH_TUPLE=	stnoonan:spnego-http-auth-nginx-module:v1.1.3:module
 
 COMMENT=	Angie auth-spnego dynamic module
 
-USES=		gssapi
+USES=		gssapi:mit
 
 MASTERDIR=	${.CURDIR}/../../www/angie
 
+pre-configure:
+	@${REINPLACE_CMD} -e 's|lgssapi\"|lgssapi_krb5"|' \
+		${WRKSRC_module}/config
+
 do-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${MKDIR} ${STAGEDIR}${MODDIR}