git: 771ee17c8810 - stable/15 - mit-krb5.pc: Add missing -lkrb5profile

From: Igor Ostapenko <igoro_at_FreeBSD.org>
Date: Sat, 11 Oct 2025 11:04:13 UTC
The branch stable/15 has been updated by igoro:

URL: https://cgit.FreeBSD.org/src/commit/?id=771ee17c88106fb07b5035a2f36c36ccafe94edd

commit 771ee17c88106fb07b5035a2f36c36ccafe94edd
Author:     Igor Ostapenko <igoro@FreeBSD.org>
AuthorDate: 2025-10-11 10:20:44 +0000
Commit:     Igor Ostapenko <igoro@FreeBSD.org>
CommitDate: 2025-10-11 10:58:33 +0000

    mit-krb5.pc: Add missing -lkrb5profile
    
    Fixes the ports that prefer static linking:
    https://reviews.freebsd.org/D49277
    
    Reviewed by:    ivy, dch, cy
    Sponsored by:   SkunkWerks, GmbH
    Differential Revision:  https://reviews.freebsd.org/D52910
    
    (cherry picked from commit 2d9fd2c573c318754e3f36d2549e0e57ce199d60)
---
 crypto/krb5/src/build-tools/mit-krb5.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/krb5/src/build-tools/mit-krb5.pc.in b/crypto/krb5/src/build-tools/mit-krb5.pc.in
index fdc557785ad4..dca1654c8c9d 100644
--- a/crypto/krb5/src/build-tools/mit-krb5.pc.in
+++ b/crypto/krb5/src/build-tools/mit-krb5.pc.in
@@ -12,4 +12,4 @@ Description: An implementation of Kerberos network authentication
 Version: @KRB5_VERSION@
 Cflags: -I${includedir}
 Libs: -L${libdir} -lkrb5 -lk5crypto @COM_ERR_LIB@
-Libs.private: -lkrb5support
+Libs.private: -lkrb5support -lkrb5profile