Detect if MIT Kerberos V headers are present on the system (by looking
in ${DESTDIR}/usr/include/kadm5/kadm_err.h) and if so, tell the operator to remove the contents of that directory in an error message and abort.
This commit is contained in:
parent
f2bfc30377
commit
8f6ee79db8
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2000/06/16 22:46:47 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2000/06/21 05:43:50 thorpej Exp $
|
||||
DIST= ${.CURDIR}/../../crypto/dist
|
||||
.PATH: ${DIST}/heimdal/lib/kadm5
|
||||
|
||||
|
@ -62,4 +62,14 @@ $(SRCS:.c=.o): kadm5_err.h
|
|||
|
||||
CLEANFILES = kadm5_err.h kadm5_err.c
|
||||
|
||||
# Prevent collision with old MIT Kerberos includes -- require manual
|
||||
# intervention of the operator.
|
||||
.BEGIN:
|
||||
.ifmake includes
|
||||
@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
|
||||
echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
|
||||
false; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
Loading…
Reference in New Issue