git: 707507c27f69 - main - libkadm5clnt: Fix library symlink install

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Wed, 05 Nov 2025 00:38:36 UTC
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=707507c27f69f16de0ce3efee21b20d4f76328f8

commit 707507c27f69f16de0ce3efee21b20d4f76328f8
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-11-04 23:53:21 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-11-05 00:38:07 +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.
    
    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
---
 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>