git: 054a5739b086 - main - security/pecl-krb5: Fix build on FreeBSD 15+
Date: Wed, 22 Oct 2025 09:30:01 UTC
The branch main has been updated by girgen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=054a5739b086a82c2ca4038ddc3cbf33eff82b99
commit 054a5739b086a82c2ca4038ddc3cbf33eff82b99
Author: Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2025-10-22 09:28:03 +0000
Commit: Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2025-10-22 09:29:57 +0000
security/pecl-krb5: Fix build on FreeBSD 15+
The libkrb5support.so was added to the heimdal base in 15, so the
explicit krb5 dependency didn't work. Use the gssapi USES mechanism
instead.
---
security/pecl-krb5/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/security/pecl-krb5/Makefile b/security/pecl-krb5/Makefile
index 84ca24082319..3ce381d52f1b 100644
--- a/security/pecl-krb5/Makefile
+++ b/security/pecl-krb5/Makefile
@@ -1,5 +1,6 @@
PORTNAME= krb5
PORTVERSION= 1.2.4
+PORTREVISION= 1
CATEGORIES= security pear
MAINTAINER= girgen@FreeBSD.org
@@ -8,9 +9,7 @@ WWW= https://pecl.php.net/package/krb5
LICENSE= BSD3CLAUSE
-LIB_DEPENDS= libkrb5support.so:security/krb5
-
-USES= php:pecl
+USES= php:pecl gssapi:mit
CONFIGURE_ARGS= --with-krb5config=${LOCALBASE}/bin/krb5-config