git: 190e1cd5a68d - releng/15.0 - libkadm5clnt: Fix library symlink install

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Thu, 06 Nov 2025 23:11:46 UTC
The branch releng/15.0 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=190e1cd5a68d7f94a0bcc9ec4018c5f0a75e2b15

commit 190e1cd5a68d7f94a0bcc9ec4018c5f0a75e2b15
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-11-04 23:53:21 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-11-06 23:10:43 +0000

    libkadm5clnt: Fix library symlink install
    
    libkadm5clnt_mit installs a symlink from libkadm5clnt.so for backward
    compatibility, but it neglected to include the package tags, so the
    symlink was missing from pkgbase builds.  Add ${DEV_TAG_ARGS} to the
    install command.
    
    Approved by:    re (cperciva)
    Reported by:    Mark Millard <marklmi@yahoo.com>
    MFC after:      1 day
    Reviewed by:    emaste
    Sponsored by:   https://www.patreon.com/bsdivy
    Differential Revision:  https://reviews.freebsd.org/D53574
    
    (cherry picked from commit 707507c27f69f16de0ce3efee21b20d4f76328f8)
    (cherry picked from commit dd9ba3201b1c46a9412b499289e65f5ebebb6ee5)
---
 krb5/lib/kadm5clnt/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/krb5/lib/kadm5clnt/Makefile b/krb5/lib/kadm5clnt/Makefile
index 52a7187cf9bb..ef01a5f779e3 100644
--- a/krb5/lib/kadm5clnt/Makefile
+++ b/krb5/lib/kadm5clnt/Makefile
@@ -86,7 +86,8 @@ ${CHPASS_UTIL_STRINGS_ERR_C}: ${CHPASS_UTIL_STRINGS_ERR}
 	rm -f et-c-${.PREFIX}.et et-c-${.PREFIX}.c
 
 afterinstall:
-	${INSTALL_LIBSYMLINK} ${SHLIB_LINK} ${DESTDIR}${LIBDIR}/libkadm5clnt.so
+	${INSTALL_LIBSYMLINK} ${DEV_TAG_ARGS} ${SHLIB_LINK} \
+	    ${DESTDIR}${LIBDIR}/libkadm5clnt.so
 
 .include <bsd.lib.mk>