aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2025-06-23 14:21:05 +0000
committerCy Schubert <cy@FreeBSD.org>2025-06-23 16:20:26 +0000
commit60f970b85e44644d76daa4faa8a8d45e490dbde1 (patch)
tree80ba7751dff7575ecc82d882b3057c94ae1d6878
parent18a8f5714c48b067279ec436d31ef82bd6a63f64 (diff)
krb5: Fix install /usr/include INCS
Build and install of subdirs does not need to include bsd.subdir.mk. As with include/, copies must always be built. And installincludes is placed after bsd.prog.mk. Reported by: fluffy
-rw-r--r--krb5/include/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/krb5/include/Makefile b/krb5/include/Makefile
index ee086e1ea07d..fb919434bf93 100644
--- a/krb5/include/Makefile
+++ b/krb5/include/Makefile
@@ -17,8 +17,6 @@ SUBDIR= krb5_private krb5 gssrpc gssapi
SUBDIR_PARALLEL=
-.include <bsd.subdir.mk>
-
INCSGROUPS= INCS COM_ERR VERTO GSSAPI_KRB5
INCSDIR= ${INCLUDEDIR}
@@ -45,7 +43,6 @@ rebuild-error-tables: ${K5_ET_HEADERS}
force:
stage_includes: copies
-installincludes: copies
SDESTDIR?= ${SYSROOT:U${DESTDIR}}
.PHONY: force rebuild-error-tables osconf.h
@@ -61,7 +58,7 @@ VERTO= verto-module.h \
.PATH: ${KRB5_DIR}/include/krb5
-copies:
+copies: .PHONY .META
cd ${KRB5_DIR}/include; \
${INSTALL} -C ${TAG_ARGS:D${TAG_ARGS},dev} -o ${BINOWN} -g ${BINGRP} -m444 ${INCS} ${SDESTDIR}${INCLUDEDIR}
cd ${KRB5_DIR}/util/et; \
@@ -71,3 +68,5 @@ copies:
.include <bsd.prog.mk>
+
+installincludes: copies