git: b98d0566b2bd - main - krb5: don't install /usr/include/import_err.h

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Fri, 25 Jul 2025 17:28:46 UTC
The branch main has been updated by ivy:

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

commit b98d0566b2bddb3478abe6f26cfde180920de092
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-07-25 14:06:21 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-07-25 17:31:26 +0000

    krb5: don't install /usr/include/import_err.h
    
    This header is not installed by upstream krb5, and since it's part of
    kdb5_util, installing it causes an unwanted krb5-dev package to be
    created.
    
    Reviewed by:    des
    Differential Revision:  https://reviews.freebsd.org/D51419
---
 ObsoleteFiles.inc                | 1 +
 krb5/usr.sbin/kdb5_util/Makefile | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 0da710c94797..76c7b2eda4e8 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -62,6 +62,7 @@ OLD_FILES+=usr/include/t_test.h
 OLD_FILES+=usr/include/dyn.h
 OLD_FILES+=usr/include/dynP.h
 OLD_FILES+=usr/include/gssrpcint.h
+OLD_FILES+=usr/include/import_err.h
 OLD_FILES+=usr/share/man/man5/profile.5.gz
 OLD_FILES+=usr/share/man/man8/kamdin.local.8.gz
 
diff --git a/krb5/usr.sbin/kdb5_util/Makefile b/krb5/usr.sbin/kdb5_util/Makefile
index 1fab7ee58556..ef821d6867f5 100644
--- a/krb5/usr.sbin/kdb5_util/Makefile
+++ b/krb5/usr.sbin/kdb5_util/Makefile
@@ -27,11 +27,12 @@ SRCS=	dump.c \
 	tdumputil.c \
 	${GEN}
 
-INCS=	${GENI}
+DPSRCS=	${GENI}
 
 MAN=	kdb5_util.8
 
-CFLAGS+=-I${KRB5_DIR}/include \
+CFLAGS+=-I. \
+	-I${KRB5_DIR}/include \
 	-I${KRB5_DIR}/lib \
 	-I${KRB5_SRCTOP}/include